Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.001258/0.001258, 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.001158/0.001158, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.252/2.252, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6137, allocations: 140.4 MB / 0.9497 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002056/0.6158, allocations: 1.435 MB / 0.9511 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.6164, allocations: 360.3 kB / 0.9515 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.6164, allocations: 0 / 0.9515 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.6165, allocations: 4.844 kB / 0.9515 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.6165, allocations: 3.938 kB / 0.9515 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.6169, allocations: 103 kB / 0.9516 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.967e-05/0.6169, allocations: 20.62 kB / 0.9516 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.617, allocations: 15.34 kB / 0.9516 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.6171, allocations: 7.812 kB / 0.9516 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.6171, allocations: 14.61 kB / 0.9516 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.6171, allocations: 1.156 kB / 0.9516 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.6173, allocations: 130.8 kB / 0.9517 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.6173, allocations: 0 / 0.9517 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.6174, allocations: 10.53 kB / 0.9518 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.6175, allocations: 92.27 kB / 0.9518 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6175, allocations: 0 / 0.9518 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6175, allocations: 0 / 0.9518 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6175, allocations: 1.219 kB / 0.9518 GB, free: 7.797 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.0003506/0.6179, allocations: 356.4 kB / 0.9522 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.6179, allocations: 8.781 kB / 0.9522 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.618, allocations: 32.06 kB / 0.9522 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.618, allocations: 2.375 kB / 0.9522 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.6181, allocations: 169.7 kB / 0.9524 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6181, allocations: 1.781 kB / 0.9524 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.6181, allocations: 384 / 0.9524 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.6183, allocations: 57.67 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6183, allocations: 3.938 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.6183, allocations: 1.438 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6183, allocations: 3.938 kB / 0.9525 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.6185, allocations: 30.44 kB / 0.9525 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.6187, allocations: 253 kB / 0.9527 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.6189, allocations: 42.94 kB / 0.9528 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.6189, allocations: 22.53 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/0.6196, allocations: 475.9 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.6196, allocations: 31.5 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.6196, allocations: 0 / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.6199, allocations: 80.73 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.62, allocations: 56.72 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.973e-05/0.62, allocations: 98.47 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.62, allocations: 25.7 kB / 0.9535 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.6201, allocations: 90.22 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.6201, allocations: 3.906 kB / 0.9536 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6201, allocations: 16 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.6202, allocations: 319.8 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.6203, allocations: 17.58 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.6203, allocations: 21.94 kB / 0.954 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.6205, allocations: 34.8 kB / 0.954 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6205, allocations: 3.938 kB / 0.954 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.6207, allocations: 69.09 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6207, allocations: 4.406 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.6207, allocations: 1.141 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6207, allocations: 3.984 kB / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.6208, allocations: 9.891 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6208, allocations: 5.406 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.6209, allocations: 2.688 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.6209, allocations: 1.406 kB / 0.9541 GB, free: 5.426 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.622e-05/0.6209, allocations: 118.9 kB / 0.9542 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.6209, allocations: 10.02 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.6212, allocations: 66.34 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6212, allocations: 0 / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6212, allocations: 1.406 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6212, allocations: 0 / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.6213, allocations: 158.3 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6213, allocations: 4 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.6214, allocations: 18.2 kB / 0.9545 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6214, allocations: 0 / 0.9545 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.6214, allocations: 1.594 kB / 0.9545 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6214, allocations: 0 / 0.9545 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6214, allocations: 3.938 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.6216, allocations: 159 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.6216, allocations: 86.8 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.6216, allocations: 0 / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.6217, allocations: 7.234 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.6217, allocations: 5.5 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.6218, allocations: 1.188 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.6218, allocations: 81.95 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6218, allocations: 0 / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002532/0.622, allocations: 28.12 kB / 0.9548 GB, free: 4.684 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.0004637/0.6225, allocations: 0.7446 MB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.6227, allocations: 41.52 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6227, allocations: 0 / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.6228, allocations: 15.77 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.623, allocations: 3.625 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.6234, allocations: 155.4 kB / 0.9557 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.442e-05/0.6235, allocations: 0.6775 MB / 0.9564 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.6235, allocations: 5.141 kB / 0.9564 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.6235, allocations: 8.594 kB / 0.9564 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6235, allocations: 0 / 0.9564 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.6412, allocations: 1.737 MB / 0.9581 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.677, allocations: 9.812 kB / 0.9581 GB, free: 2.086 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_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_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)