Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001248/0.001248, 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.001527/0.001527, allocations: 197 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.262/2.262, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5652, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.00158/0.5669, allocations: 0.5685 MB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000469/0.5673, allocations: 298.3 kB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.038e-05/0.5674, allocations: 0 / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.5674, allocations: 0 / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.5674, allocations: 9.25 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.5678, allocations: 101 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.35e-05/0.5678, allocations: 1.375 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.5679, allocations: 1.375 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.5679, allocations: 3.938 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.465e-05/0.5679, allocations: 1.375 kB / 0.9507 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.5679, allocations: 3.984 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.5681, allocations: 123.6 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.5681, allocations: 0 / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.5682, allocations: 5.609 kB / 0.9508 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.5683, allocations: 76.84 kB / 0.9509 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.5683, allocations: 0 / 0.9509 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5683, allocations: 4 kB / 0.9509 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.5683, allocations: 0 / 0.9509 GB, free: 8.312 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001851/0.5685, allocations: 329.1 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.5685, allocations: 12.67 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.097e-05/0.5686, allocations: 32.44 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.974e-05/0.5686, allocations: 0.9375 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.929e-05/0.5686, allocations: 160.4 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.5686, allocations: 384 / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.5687, allocations: 1.875 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.156e-05/0.5687, allocations: 35.7 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.5687, allocations: 3.938 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.5687, allocations: 0 / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.5688, allocations: 5 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.5688, allocations: 1.188 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.761e-05/0.5689, allocations: 151.1 kB / 0.9516 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.452e-05/0.5689, allocations: 15.98 kB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.5689, allocations: 6.297 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.5695, allocations: 471.2 kB / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.5695, allocations: 39.94 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5695, allocations: 3.938 kB / 0.9521 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001033/0.5696, allocations: 39.34 kB / 0.9521 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.5697, allocations: 55.41 kB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.422e-05/0.5697, allocations: 89.86 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.5697, allocations: 25.7 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-06/0.5697, allocations: 81.45 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.5697, allocations: 3.906 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.5698, allocations: 11.25 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.5698, allocations: 316.2 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.5698, allocations: 0.9062 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-06/0.5698, allocations: 1.375 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.5698, allocations: 23.81 kB / 0.9527 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5699, allocations: 0 / 0.9527 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.063e-05/0.5699, allocations: 29.92 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.5699, allocations: 5.125 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5699, allocations: 9.156 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.5699, allocations: 0 / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.57, allocations: 1.375 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.57, allocations: 1.219 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-06/0.57, allocations: 0 / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.57, allocations: 1.344 kB / 0.9528 GB, free: 6.172 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 (1): * Single equations (assignments): 1 * 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 3.136e-05/0.57, allocations: 111 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.57, allocations: 0 / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.5701, allocations: 45.11 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.5701, allocations: 4.031 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5701, allocations: 1.125 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.5701, allocations: 0 / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.916e-05/0.5702, allocations: 146.8 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5702, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.5702, allocations: 6.5 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.5702, allocations: 0 / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.5702, allocations: 3.938 kB / 0.9531 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5702, allocations: 1.312 kB / 0.9531 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5702, allocations: 0 / 0.9531 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.093e-05/0.5703, allocations: 67.44 kB / 0.9531 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.5703, allocations: 77.11 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.5703, allocations: 5.156 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-06/0.5703, allocations: 0 / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-06/0.5703, allocations: 5.234 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.5703, allocations: 4 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.396e-06/0.5703, allocations: 75.28 kB / 0.9533 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5703, allocations: 5.375 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.5705, allocations: 24.59 kB / 0.9533 GB, free: 5.539 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 (1): * Single equations (assignments): 1 * 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.0003088/0.5709, allocations: 0.6351 MB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.246e-05/0.5709, allocations: 12.73 kB / 0.954 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5709, allocations: 0 / 0.954 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-06/0.5709, allocations: 5.656 kB / 0.954 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.5711, allocations: 4.219 kB / 0.954 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.5713, allocations: 117.3 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.5714, allocations: 0.6785 MB / 0.9547 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.588e-06/0.5714, allocations: 3.938 kB / 0.9547 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.075e-05/0.5714, allocations: 8.75 kB / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5714, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.5857, allocations: 1.373 MB / 0.9561 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.719, allocations: 18.44 kB / 0.9561 GB, free: 3.254 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.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_Functions_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)