Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",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.0007251/0.0007251, allocations: 92.78 kB / 15.7 MB, free: 472 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.0007573/0.0007571, allocations: 175.4 kB / 16.58 MB, free: 5.672 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.187/1.187, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6158/0.6158, allocations: 113.7 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 13 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.000649/0.1158, allocations: 299.1 kB / 0.5572 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.1162, allocations: 173.6 kB / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-06/0.1162, allocations: 0 / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.1162, allocations: 0 / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.1163, allocations: 0 / 0.5574 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1166, allocations: 43.89 kB / 0.5574 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.99e-05/0.1166, allocations: 0 / 0.5574 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1166, allocations: 8 kB / 0.5574 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.1e-05/0.1167, allocations: 0 / 0.5574 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.1167, allocations: 0 / 0.5574 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-06/0.1167, allocations: 0 / 0.5574 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1168, allocations: 67.86 kB / 0.5575 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-06/0.1169, allocations: 0 / 0.5575 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.1169, allocations: 25.7 kB / 0.5575 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.541e-05/0.117, allocations: 15.97 kB / 0.5575 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.117, allocations: 4 kB / 0.5575 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.117, allocations: 0 / 0.5575 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.117, allocations: 4 kB / 0.5575 GB, free: 11.03 MB / 430.1 MB 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.0002163/0.1172, allocations: 315.4 kB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1172, allocations: 12.03 kB / 0.5578 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.1173, allocations: 30.56 kB / 0.5579 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.767e-05/0.1173, allocations: 3.984 kB / 0.5579 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.386e-05/0.1174, allocations: 159.1 kB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1174, allocations: 7.875 kB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.1174, allocations: 0 / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.1175, allocations: 37.59 kB / 0.5581 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1175, allocations: 4 kB / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.1175, allocations: 0 / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1175, allocations: 0 / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.1175, allocations: 0 / 0.5581 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.1176, allocations: 153.7 kB / 0.5582 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.941e-05/0.1177, allocations: 14.58 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.131e-05/0.1177, allocations: 4.859 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.1183, allocations: 465.5 kB / 0.5587 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1183, allocations: 38.55 kB / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1183, allocations: 0 / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001143/0.1184, allocations: 33.66 kB / 0.5587 GB, free: 9.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1185, allocations: 51.53 kB / 0.5588 GB, free: 9.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.836e-05/0.1185, allocations: 93.86 kB / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1185, allocations: 25.7 kB / 0.5589 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.1186, allocations: 84.14 kB / 0.559 GB, free: 9.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1186, allocations: 0 / 0.559 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-06/0.1186, allocations: 0 / 0.559 GB, free: 9.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.1187, allocations: 314.8 kB / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.1187, allocations: 0 / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.1187, allocations: 3.938 kB / 0.5593 GB, free: 8.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.291e-05/0.1187, allocations: 4.062 kB / 0.5593 GB, free: 8.902 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1187, allocations: 3.984 kB / 0.5593 GB, free: 8.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.588e-05/0.1188, allocations: 37.61 kB / 0.5593 GB, free: 8.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1188, allocations: 5.719 kB / 0.5593 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1188, allocations: 0 / 0.5593 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1188, allocations: 0 / 0.5593 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.1189, allocations: 7.953 kB / 0.5593 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1189, allocations: 0 / 0.5593 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.1189, allocations: 0 / 0.5593 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.1189, allocations: 0 / 0.5593 GB, free: 8.844 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.119, allocations: 117.2 kB / 0.5595 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.119, allocations: 3.984 kB / 0.5595 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.172e-05/0.1191, allocations: 40.77 kB / 0.5595 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1191, allocations: 3.938 kB / 0.5595 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1191, allocations: 3.953 kB / 0.5595 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1191, allocations: 0 / 0.5595 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.625e-05/0.1192, allocations: 145.7 kB / 0.5596 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1192, allocations: 0 / 0.5596 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.1192, allocations: 8.031 kB / 0.5597 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1192, allocations: 7.938 kB / 0.5597 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.1192, allocations: 0 / 0.5597 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1192, allocations: 0 / 0.5597 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1192, allocations: 3.984 kB / 0.5597 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.866e-05/0.1193, allocations: 69.02 kB / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.1193, allocations: 77.11 kB / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.1193, allocations: 0 / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-06/0.1193, allocations: 4.031 kB / 0.5598 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.1194, allocations: 0 / 0.5598 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1194, allocations: 0 / 0.5598 GB, free: 8.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.1194, allocations: 75.28 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1194, allocations: 0 / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1196, allocations: 19.95 kB / 0.5599 GB, free: 8.172 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003508/0.1199, allocations: 0.6173 MB / 0.5605 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.048e-05/0.12, allocations: 7.938 kB / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.12, allocations: 0 / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.12, allocations: 0 / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1201, allocations: 8.156 kB / 0.5605 GB, free: 7.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.1204, allocations: 108.3 kB / 0.5606 GB, free: 7.363 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.1205, allocations: 0.6692 MB / 0.5613 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.018e-05/0.1206, allocations: 0 / 0.5613 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.1206, allocations: 7.438 kB / 0.5613 GB, free: 6.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1206, allocations: 4 kB / 0.5613 GB, free: 6.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.1334, allocations: 0.9515 MB / 0.5622 GB, free: 5.844 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.1336, allocations: 183.1 kB / 0.5624 GB, free: 5.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/1.515, allocations: 0 / 0.5624 GB, free: 5.609 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: