Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002407/0.002407, allocations: 282.8 kB / 309.8 MB, free: 3.473 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.079/1.079, allocations: 180.6 MB / 0.5338 GB, free: 12.44 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 99.86 kB / 0.7347 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5482, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001657/0.5499, allocations: 0.5792 MB / 0.8284 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004619/0.5503, allocations: 214.2 kB / 0.8286 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.5503, allocations: 0 / 0.8286 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.5503, allocations: 1.062 kB / 0.8286 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.5504, allocations: 0 / 0.8286 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.5507, allocations: 52.38 kB / 0.8286 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.5507, allocations: 5.422 kB / 0.8287 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.5508, allocations: 1.453 kB / 0.8287 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.121e-05/0.5508, allocations: 1.562 kB / 0.8287 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.5508, allocations: 0.6094 kB / 0.8287 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.5508, allocations: 3.984 kB / 0.8287 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.551, allocations: 67.25 kB / 0.8287 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-06/0.551, allocations: 0 / 0.8287 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.283e-05/0.551, allocations: 1.125 kB / 0.8287 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.5511, allocations: 39.75 kB / 0.8288 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5511, allocations: 0 / 0.8288 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5511, allocations: 0 / 0.8288 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.5511, allocations: 0.8438 kB / 0.8288 GB, free: 2.477 MB / 0.5762 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.0002279/0.5514, allocations: 330.3 kB / 0.8291 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5514, allocations: 10.03 kB / 0.8291 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.5514, allocations: 4.906 kB / 0.8291 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.569e-05/0.5514, allocations: 34.69 kB / 0.8291 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.5515, allocations: 2.859 kB / 0.8291 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.611e-05/0.5515, allocations: 161.7 kB / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.5515, allocations: 384 / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.5515, allocations: 1.312 kB / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/0.5516, allocations: 32.94 kB / 0.8293 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5516, allocations: 0 / 0.8293 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.5516, allocations: 0 / 0.8293 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5516, allocations: 5.562 kB / 0.8293 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.5517, allocations: 1.188 kB / 0.8293 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.863e-05/0.5518, allocations: 148.4 kB / 0.8295 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.276e-05/0.5518, allocations: 21.36 kB / 0.8295 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.5518, allocations: 7.766 kB / 0.8295 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/0.5524, allocations: 461 kB / 0.8299 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.5524, allocations: 39.39 kB / 0.83 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5524, allocations: 0 / 0.83 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.5526, allocations: 32.98 kB / 0.83 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.5526, allocations: 55.34 kB / 0.8301 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.631e-05/0.5526, allocations: 90.38 kB / 0.8301 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.5526, allocations: 33.83 kB / 0.8302 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.5526, allocations: 80.14 kB / 0.8302 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.5526, allocations: 2.188 kB / 0.8303 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.5527, allocations: 13.05 kB / 0.8303 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.5527, allocations: 310.8 kB / 0.8306 GB, free: 448 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-06/0.5527, allocations: 0.75 kB / 0.8306 GB, free: 448 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.5527, allocations: 5.406 kB / 0.8306 GB, free: 444 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.5527, allocations: 12.33 kB / 0.8306 GB, free: 432 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5528, allocations: 3.938 kB / 0.8306 GB, free: 428 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.995e-05/0.5528, allocations: 36.47 kB / 0.8306 GB, free: 392 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5528, allocations: 14.28 kB / 0.8306 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5528, allocations: 0.6094 kB / 0.8306 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5528, allocations: 0 / 0.8306 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.5529, allocations: 2.078 kB / 0.8306 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5529, allocations: 2.75 kB / 0.8306 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-06/0.5529, allocations: 0 / 0.8306 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.5529, allocations: 0 / 0.8306 GB, free: 384 kB / 0.5762 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.933e-05/0.5529, allocations: 110.9 kB / 0.8307 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.5529, allocations: 6.344 kB / 0.8307 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.553, allocations: 38.19 kB / 0.8308 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.553, allocations: 3.984 kB / 0.8308 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.553, allocations: 1.766 kB / 0.8308 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.553, allocations: 0 / 0.8308 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.652e-05/0.553, allocations: 146.8 kB / 0.8309 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.553, allocations: 0 / 0.8309 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.5531, allocations: 0.75 kB / 0.8309 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5531, allocations: 11.91 kB / 0.8309 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5531, allocations: 1.344 kB / 0.8309 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5531, allocations: 0.6562 kB / 0.8309 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5531, allocations: 0 / 0.8309 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.986e-05/0.5531, allocations: 57.8 kB / 0.831 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.5532, allocations: 77.72 kB / 0.8311 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5532, allocations: 5.641 kB / 0.8311 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-06/0.5532, allocations: 6.469 kB / 0.8311 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.5532, allocations: 0.5625 kB / 0.8311 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.5532, allocations: 0 / 0.8311 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.5533, allocations: 75.28 kB / 0.8312 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.5533, allocations: 0 / 0.8312 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002004/0.5535, allocations: 15.39 kB / 0.8312 GB, free: 15.77 MB / 0.5919 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.0004583/0.5539, allocations: 0.6142 MB / 0.8318 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.554, allocations: 6.016 kB / 0.8318 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.554, allocations: 3.938 kB / 0.8318 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.554, allocations: 1.312 kB / 0.8318 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.5541, allocations: 7.359 kB / 0.8318 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.5544, allocations: 117.1 kB / 0.8319 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.5547, allocations: 0.6726 MB / 0.8326 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.036e-05/0.5547, allocations: 0 / 0.8326 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.5547, allocations: 14.86 kB / 0.8326 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5547, allocations: 0 / 0.8326 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.572, allocations: 1.21 MB / 0.8338 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.798, allocations: 9.734 kB / 0.8338 GB, free: 13.93 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.804087369004264] Failed to read output from testmodel.py, exit status != 0: 8.925234242982697 8.952020141 8.395839542 Calling exit ...