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.0009631/0.0009631, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001143/0.001143, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.001427/0.001427, allocations: 236.7 kB / 260.2 MB, free: 13 MB / 250.7 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 0.6859/0.6859, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.6476 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.066e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.00112/0.001151, allocations: 0.5876 MB / 0.6482 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003624/0.001513, allocations: 168.1 kB / 0.6483 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.334e-05/0.001527, allocations: 3.938 kB / 0.6483 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.001541, allocations: 0 / 0.6483 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.001547, allocations: 4 kB / 0.6483 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.001895, allocations: 55.81 kB / 0.6484 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.936e-05/0.001935, allocations: 0 / 0.6484 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.001973, allocations: 0 / 0.6484 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.001998, allocations: 0 / 0.6484 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.002019, allocations: 4 kB / 0.6484 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.002027, allocations: 0 / 0.6484 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.002165, allocations: 55.88 kB / 0.6484 GB, free: 420 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.002177, allocations: 3.938 kB / 0.6484 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.00219, allocations: 3.984 kB / 0.6484 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.002302, allocations: 35.95 kB / 0.6485 GB, free: 376 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002304, allocations: 4 kB / 0.6485 GB, free: 372 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.002305, allocations: 0 / 0.6485 GB, free: 372 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.00231, allocations: 0 / 0.6485 GB, free: 372 kB / 0.5573 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.0002329/0.002543, allocations: 250.3 kB / 0.6487 GB, free: 88 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.002581, allocations: 9.938 kB / 0.6487 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.00261, allocations: 0.9375 kB / 0.6487 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2447/0.2473, allocations: 103.6 kB / 0.6488 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2473, allocations: 1.359 kB / 0.6488 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2473, allocations: 2 kB / 0.6488 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/0.2474, allocations: 29 kB / 0.6489 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2474, allocations: 2.219 kB / 0.6489 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2474, allocations: 1.531 kB / 0.6489 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2474, allocations: 1.125 kB / 0.6489 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.2474, allocations: 3.891 kB / 0.6489 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.348e-05/0.2475, allocations: 102.4 kB / 0.649 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.454e-05/0.2476, allocations: 26.42 kB / 0.649 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.2476, allocations: 6.766 kB / 0.649 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.248, allocations: 74.27 kB / 0.6491 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.248, allocations: 33.7 kB / 0.6491 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.562e-06/0.2481, allocations: 0 / 0.6491 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.2482, allocations: 34.52 kB / 0.6491 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.2482, allocations: 53.73 kB / 0.6492 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.152e-05/0.2482, allocations: 94.23 kB / 0.6493 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.2482, allocations: 26.52 kB / 0.6493 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-06/0.2482, allocations: 81.3 kB / 0.6494 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.2482, allocations: 1.969 kB / 0.6494 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.2483, allocations: 12.12 kB / 0.6494 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.2483, allocations: 321.7 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.2483, allocations: 3.188 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.2483, allocations: 1.75 kB / 0.6497 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.2483, allocations: 11.16 kB / 0.6497 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2484, allocations: 0 / 0.6497 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.478e-05/0.2484, allocations: 37.03 kB / 0.6497 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2484, allocations: 6.391 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2484, allocations: 1.656 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2484, allocations: 0.6562 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.2485, allocations: 2.469 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2485, allocations: 1.641 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-06/0.2485, allocations: 1.25 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2485, allocations: 1.375 kB / 0.6498 GB, free: 56.19 MB / 0.5573 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.721e-05/0.2485, allocations: 114.1 kB / 0.6499 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-06/0.2485, allocations: 2.594 kB / 0.6499 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.2486, allocations: 40.47 kB / 0.6499 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2486, allocations: 0.7188 kB / 0.6499 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2486, allocations: 2.078 kB / 0.6499 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2486, allocations: 1.75 kB / 0.6499 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.576e-05/0.2486, allocations: 100.8 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.2486, allocations: 3.5 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.2486, allocations: 2.203 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2486, allocations: 0.7812 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2486, allocations: 3.234 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.2486, allocations: 0.7812 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2486, allocations: 2.406 kB / 0.65 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.154e-05/0.2487, allocations: 64.28 kB / 0.6501 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.2487, allocations: 4.547 kB / 0.6501 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.2487, allocations: 1.656 kB / 0.6501 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-06/0.2487, allocations: 3.484 kB / 0.6501 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.2487, allocations: 2.125 kB / 0.6501 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2487, allocations: 1.094 kB / 0.6501 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.132e-05/0.2487, allocations: 79.12 kB / 0.6502 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2487, allocations: 0 / 0.6502 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001435/0.2489, allocations: 16.06 kB / 0.6502 GB, free: 55.77 MB / 0.5573 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.0001844/0.2491, allocations: 115.8 kB / 0.6503 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.402e-05/0.2491, allocations: 8.047 kB / 0.6503 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2491, allocations: 0.9062 kB / 0.6503 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.2491, allocations: 5.203 kB / 0.6503 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.2492, allocations: 6.5 kB / 0.6503 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/0.2494, allocations: 105.8 kB / 0.6504 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.596e-05/0.2494, allocations: 54.86 kB / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.2494, allocations: 10.06 kB / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.2494, allocations: 0 / 0.6505 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of Templates: time 0.001794/0.2512, allocations: 0.56 MB / 0.651 GB, free: 55.49 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1866849241778255] Failed to read output from testmodel.py, exit status != 0: 0.256846085190773 0.26476857800000003 0.260853437 Calling exit ...