Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6064, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002467/0.6089, allocations: 1.426 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000625/0.6095, allocations: 341.5 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.6096, allocations: 5.406 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.6096, allocations: 3.938 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.6097, allocations: 3.984 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.6101, allocations: 100.8 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.6102, allocations: 21.06 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.6103, allocations: 7.781 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.6103, allocations: 6.734 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.6103, allocations: 10.56 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.6104, allocations: 6.719 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.6106, allocations: 129.5 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.6106, allocations: 1.531 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.6106, allocations: 9.469 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.6108, allocations: 83.38 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6108, allocations: 1.25 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6108, allocations: 0 / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6108, allocations: 0 / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004044/0.6112, allocations: 356.1 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6113, allocations: 14.16 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.6113, allocations: 30.75 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.6113, allocations: 7.438 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.6114, allocations: 169.4 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.6115, allocations: 384 / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.6115, allocations: 6.594 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.6116, allocations: 44.95 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6117, allocations: 3.938 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6117, allocations: 5.094 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6117, allocations: 4 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.6118, allocations: 34.33 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.6121, allocations: 245.2 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.6122, allocations: 50.67 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.6123, allocations: 23.47 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/0.6129, allocations: 454.6 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.6129, allocations: 36.05 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.6129, allocations: 4 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003252/0.6133, allocations: 76.28 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.6133, allocations: 59.33 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/0.6134, allocations: 99.67 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.6134, allocations: 25.7 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.6134, allocations: 85.34 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.6134, allocations: 9.438 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.6135, allocations: 22.95 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.6135, allocations: 312 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.6136, allocations: 13.48 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.6137, allocations: 17.64 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6138, allocations: 42.97 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6138, allocations: 5.25 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001693/0.614, allocations: 64.45 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.614, allocations: 8.891 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.614, allocations: 0 / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.614, allocations: 0 / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.6141, allocations: 6.438 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6141, allocations: 4.031 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.6142, allocations: 7.984 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.6142, allocations: 1.562 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.6142, allocations: 114.9 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.6143, allocations: 5.125 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.6145, allocations: 69.95 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6145, allocations: 5.406 kB / 0.9542 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6145, allocations: 192 / 0.9542 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6145, allocations: 0 / 0.9542 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.6146, allocations: 165.9 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6146, allocations: 1.375 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.6147, allocations: 13.73 kB / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6147, allocations: 0 / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.6147, allocations: 5.406 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.6147, allocations: 0 / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6147, allocations: 0 / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6149, allocations: 163.3 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.6149, allocations: 78.36 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.615, allocations: 0 / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.615, allocations: 11.45 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.6151, allocations: 5.906 kB / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.6151, allocations: 1.156 kB / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.6151, allocations: 86.42 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6151, allocations: 0 / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002558/0.6154, allocations: 27.81 kB / 0.9548 GB, free: 4.359 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005164/0.6159, allocations: 0.7368 MB / 0.9555 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.6161, allocations: 41.48 kB / 0.9555 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6161, allocations: 4.062 kB / 0.9555 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.6162, allocations: 19.98 kB / 0.9556 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.6165, allocations: 2.375 kB / 0.9556 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.6169, allocations: 145.1 kB / 0.9557 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.617, allocations: 0.6805 MB / 0.9564 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.617, allocations: 5.188 kB / 0.9564 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.6171, allocations: 8.75 kB / 0.9564 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6171, allocations: 0 / 0.9564 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.6345, allocations: 1.728 MB / 0.9581 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.425, allocations: 2.031 kB / 0.9581 GB, free: 1.777 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)