Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.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: 79.52 kB / 19.93 MB, free: 1.766 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.001286/0.001286, allocations: 169.6 kB / 23.22 MB, free: 4.879 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.374/1.374, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8986/0.8986, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5547 GB, free: 2.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.241e-05, allocations: 7.656 kB / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.00273/0.002753, allocations: 1.634 MB / 0.5563 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003843, allocations: 0.5727 MB / 0.5568 GB, free: 436 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.003919, allocations: 11.88 kB / 0.5568 GB, free: 424 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.004086, allocations: 31.72 kB / 0.5569 GB, free: 392 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.004353, allocations: 63.67 kB / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.004562, allocations: 79.77 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.004764, allocations: 135.5 kB / 0.5571 GB, free: 112 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.004906, allocations: 33.59 kB / 0.5572 GB, free: 76 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.005088, allocations: 75.81 kB / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.005211, allocations: 59.92 kB / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.00524, allocations: 8 kB / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.005315, allocations: 31.92 kB / 0.5573 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.005405, allocations: 39.84 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.005458, allocations: 39.84 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005682, allocations: 151.4 kB / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.005687, allocations: 4 kB / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005687, allocations: 0 / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.005691, allocations: 0 / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006543/0.006346, allocations: 393.3 kB / 0.5579 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006381, allocations: 8.625 kB / 0.5579 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.006539, allocations: 32.78 kB / 0.558 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.006819, allocations: 193.1 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.006832, allocations: 4.375 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.006844, allocations: 4.375 kB / 0.5582 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.007159, allocations: 165.4 kB / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.007168, allocations: 192 / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.007184, allocations: 8.359 kB / 0.5583 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.007196, allocations: 3.938 kB / 0.5583 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.007449, allocations: 67.94 kB / 0.5584 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.007991, allocations: 308.2 kB / 0.5587 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.008136, allocations: 34.55 kB / 0.5587 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.008255, allocations: 36.89 kB / 0.5587 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.008273, allocations: 3.938 kB / 0.5588 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.008542, allocations: 152.5 kB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.008544, allocations: 0 / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004444/0.008988, allocations: 113.5 kB / 0.559 GB, free: 14.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.009041, allocations: 77.11 kB / 0.5591 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.009295, allocations: 248.1 kB / 0.5593 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.009316, allocations: 25.7 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.00941, allocations: 132 kB / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.00943, allocations: 15.89 kB / 0.5595 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.00947, allocations: 17.7 kB / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.009619, allocations: 330.8 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.009736, allocations: 23.97 kB / 0.5598 GB, free: 13.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.009874, allocations: 73.11 kB / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.0101, allocations: 74.5 kB / 0.56 GB, free: 12.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0101, allocations: 0 / 0.56 GB, free: 12.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002847/0.01039, allocations: 97.48 kB / 0.5601 GB, free: 12.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.0104, allocations: 4 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01041, allocations: 4.094 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01042, allocations: 4 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01052, allocations: 15.98 kB / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01053, allocations: 0 / 0.5601 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.01062, allocations: 15.92 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.01063, allocations: 3.938 kB / 0.5601 GB, free: 12.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001129/0.01074, allocations: 129.8 kB / 0.5602 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.01077, allocations: 15.91 kB / 0.5603 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.01081, allocations: 21.02 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01081, allocations: 4 kB / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01081, allocations: 0 / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.01081, allocations: 0 / 0.5603 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.01096, allocations: 157.2 kB / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.01096, allocations: 0 / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.01105, allocations: 11.98 kB / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01105, allocations: 0 / 0.5604 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01106, allocations: 4 kB / 0.5604 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01106, allocations: 7.875 kB / 0.5605 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01106, allocations: 0 / 0.5605 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.01138, allocations: 133.1 kB / 0.5606 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.0114, allocations: 11.91 kB / 0.5606 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01142, allocations: 0 / 0.5606 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.01151, allocations: 11.98 kB / 0.5606 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.01156, allocations: 7.984 kB / 0.5606 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.01158, allocations: 4 kB / 0.5606 GB, free: 12.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.01176, allocations: 181.8 kB / 0.5608 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01176, allocations: 0 / 0.5608 GB, free: 12.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.01198, allocations: 23.94 kB / 0.5608 GB, free: 12.03 MB / 478.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002237/0.0122, allocations: 112.2 kB / 0.5609 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.0125, allocations: 67.88 kB / 0.561 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01251, allocations: 0 / 0.561 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01263, allocations: 27.97 kB / 0.561 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.01292, allocations: 46.27 kB / 0.5611 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.01346, allocations: 278.6 kB / 0.5613 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.01357, allocations: 114.4 kB / 0.5614 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.01363, allocations: 16.42 kB / 0.5614 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.01367, allocations: 16.5 kB / 0.5615 GB, free: 11.32 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.01367, allocations: 0 / 0.5615 GB, free: 11.32 MB / 478.1 MB Notification: Performance of Templates: time 0.005177/0.01885, allocations: 1.76 MB / 0.5632 GB, free: 9.613 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.160384811460972] Failed to read output from testmodel.py, exit status != 0: 0.02697228267788887 0.040669802000000005 0.032118763 Calling exit ...