Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.001253/0.001253, allocations: 113.9 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.001304/0.001304, 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.446/1.446, 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.002411/0.002411, allocations: 288.2 kB / 309.8 MB, free: 3.477 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.062/1.062, allocations: 180.6 MB / 0.5338 GB, free: 12.8 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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",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.002928/0.002928, allocations: 100.3 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5132, allocations: 95.33 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.00163/0.5149, allocations: 0.5869 MB / 0.8284 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.5153, allocations: 190 kB / 0.8286 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.5153, allocations: 5.156 kB / 0.8286 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.5153, allocations: 0 / 0.8286 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.5153, allocations: 0 / 0.8286 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.5156, allocations: 55.12 kB / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.731e-05/0.5157, allocations: 1.688 kB / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.5157, allocations: 2 kB / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.192e-05/0.5157, allocations: 0.875 kB / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.643e-05/0.5157, allocations: 0 / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-06/0.5157, allocations: 1.406 kB / 0.8286 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.5159, allocations: 63.61 kB / 0.8287 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.5159, allocations: 2.625 kB / 0.8287 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.5159, allocations: 4.656 kB / 0.8287 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.516, allocations: 43.81 kB / 0.8287 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.516, allocations: 2.625 kB / 0.8287 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.955e-06/0.516, allocations: 0.7969 kB / 0.8288 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.516, allocations: 0 / 0.8288 GB, free: 2.504 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.0002247/0.5163, allocations: 322.7 kB / 0.8291 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5163, allocations: 11.25 kB / 0.8291 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.182e-05/0.5163, allocations: 192 / 0.8291 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.525e-05/0.5163, allocations: 30.75 kB / 0.8291 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.5164, allocations: 4.938 kB / 0.8291 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.422e-05/0.5164, allocations: 161.9 kB / 0.8293 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.5164, allocations: 3 kB / 0.8293 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.5164, allocations: 4.375 kB / 0.8293 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.5165, allocations: 30.81 kB / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5165, allocations: 2.625 kB / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.5165, allocations: 0.7031 kB / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5165, allocations: 0 / 0.8293 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.5166, allocations: 3.938 kB / 0.8293 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.96e-05/0.5167, allocations: 153.9 kB / 0.8294 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.07e-05/0.5167, allocations: 25.95 kB / 0.8295 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.5167, allocations: 4.859 kB / 0.8295 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.5173, allocations: 453.9 kB / 0.8299 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.5173, allocations: 39.19 kB / 0.8299 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.5173, allocations: 3.938 kB / 0.83 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.5175, allocations: 40.11 kB / 0.83 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.5175, allocations: 54.03 kB / 0.83 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.946e-05/0.5175, allocations: 90.52 kB / 0.8301 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5175, allocations: 25.7 kB / 0.8302 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.5175, allocations: 80.14 kB / 0.8302 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.5176, allocations: 4.125 kB / 0.8302 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.5176, allocations: 11.83 kB / 0.8302 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.5176, allocations: 314.2 kB / 0.8305 GB, free: 476 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.5176, allocations: 0 / 0.8305 GB, free: 476 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.5177, allocations: 4.562 kB / 0.8305 GB, free: 472 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.5177, allocations: 8.094 kB / 0.8306 GB, free: 464 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5177, allocations: 0 / 0.8306 GB, free: 464 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.302e-05/0.5177, allocations: 44.53 kB / 0.8306 GB, free: 420 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5177, allocations: 9.188 kB / 0.8306 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5177, allocations: 2.625 kB / 0.8306 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5178, allocations: 0 / 0.8306 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.5178, allocations: 0.6094 kB / 0.8306 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5178, allocations: 3.188 kB / 0.8306 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-06/0.5178, allocations: 0 / 0.8306 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5178, allocations: 0 / 0.8306 GB, free: 416 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 4.133e-05/0.5179, allocations: 106.5 kB / 0.8307 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.5179, allocations: 11.34 kB / 0.8307 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.5179, allocations: 40.98 kB / 0.8308 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5179, allocations: 0.5625 kB / 0.8308 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.5179, allocations: 2.625 kB / 0.8308 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5179, allocations: 0.6094 kB / 0.8308 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.012e-05/0.518, allocations: 143 kB / 0.8309 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.518, allocations: 0.8438 kB / 0.8309 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.518, allocations: 2.625 kB / 0.8309 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.518, allocations: 3.938 kB / 0.8309 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.518, allocations: 0.7031 kB / 0.8309 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.518, allocations: 6.656 kB / 0.8309 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.518, allocations: 0 / 0.8309 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.5181, allocations: 56.92 kB / 0.831 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.5181, allocations: 77.95 kB / 0.831 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.5181, allocations: 3.938 kB / 0.8311 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.5181, allocations: 2.625 kB / 0.8311 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.5181, allocations: 0.75 kB / 0.8311 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.5182, allocations: 11.97 kB / 0.8311 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.5182, allocations: 75.28 kB / 0.8311 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.5182, allocations: 0 / 0.8311 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002021/0.5184, allocations: 19.92 kB / 0.8312 GB, free: 15.79 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.000519/0.5189, allocations: 0.6112 MB / 0.8318 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.751e-05/0.519, allocations: 7.422 kB / 0.8318 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.519, allocations: 0 / 0.8318 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.519, allocations: 8.453 kB / 0.8318 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.5191, allocations: 3.938 kB / 0.8318 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.5194, allocations: 118.9 kB / 0.8319 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.5198, allocations: 0.6723 MB / 0.8325 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.5198, allocations: 4.875 kB / 0.8325 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.5198, allocations: 7.438 kB / 0.8326 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5198, allocations: 2.625 kB / 0.8326 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.5365, allocations: 1.191 MB / 0.8337 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.771, allocations: 19.02 kB / 0.8337 GB, free: 13.96 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.719513994001318] Failed to read output from testmodel.py, exit status != 0: 8.897285068000201 8.920955374 8.400894319 Calling exit ...