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.001318/0.001318, allocations: 71.12 kB / 20.51 MB, free: 1.285 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.001457/0.001457, allocations: 160.6 kB / 23.76 MB, free: 4.469 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.395/1.395, allocations: 177.2 MB / 204.1 MB, free: 8.969 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.9152/0.9152, allocations: 113.9 MB / 374.5 MB, free: 12.87 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: IBPSA 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.002107/0.002107, allocations: 63.89 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1459, allocations: 89.14 MB / 0.6421 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.00303/0.1489, allocations: 1.626 MB / 0.6437 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.15, allocations: 0.5922 MB / 0.6442 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.1501, allocations: 3.938 kB / 0.6442 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1503, allocations: 27.8 kB / 0.6443 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1505, allocations: 59.67 kB / 0.6443 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.1507, allocations: 79.84 kB / 0.6444 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.151, allocations: 135.5 kB / 0.6445 GB, free: 7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1511, allocations: 37.59 kB / 0.6446 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1513, allocations: 59.78 kB / 0.6446 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1514, allocations: 63.67 kB / 0.6447 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1514, allocations: 8 kB / 0.6447 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.1515, allocations: 31.94 kB / 0.6447 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.1516, allocations: 47.83 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.1516, allocations: 43.67 kB / 0.6448 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1519, allocations: 147.3 kB / 0.645 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1519, allocations: 0 / 0.645 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1519, allocations: 0 / 0.645 GB, free: 6.566 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1519, allocations: 4 kB / 0.645 GB, free: 6.562 MB / 0.545 GB 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.0006333/0.1525, allocations: 405.2 kB / 0.6453 GB, free: 6.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1525, allocations: 8.031 kB / 0.6454 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.1527, allocations: 28.84 kB / 0.6454 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.153, allocations: 186 kB / 0.6456 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.153, allocations: 8.375 kB / 0.6456 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.153, allocations: 4.375 kB / 0.6456 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1534, allocations: 168 kB / 0.6457 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1534, allocations: 4 kB / 0.6457 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1534, allocations: 4 kB / 0.6457 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1534, allocations: 0 / 0.6457 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1536, allocations: 63.94 kB / 0.6458 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.1542, allocations: 304.3 kB / 0.6461 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1543, allocations: 38.55 kB / 0.6461 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1544, allocations: 32.91 kB / 0.6462 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1544, allocations: 3.938 kB / 0.6462 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1547, allocations: 152.5 kB / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1547, allocations: 0 / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004488/0.1552, allocations: 117.5 kB / 0.6464 GB, free: 4.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1552, allocations: 85.05 kB / 0.6465 GB, free: 4.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1555, allocations: 251.9 kB / 0.6467 GB, free: 4.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1555, allocations: 25.7 kB / 0.6468 GB, free: 4.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.1556, allocations: 132.1 kB / 0.6469 GB, free: 4.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1556, allocations: 7.891 kB / 0.6469 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1556, allocations: 17.72 kB / 0.6469 GB, free: 4.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1558, allocations: 330.8 kB / 0.6472 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1559, allocations: 19.97 kB / 0.6472 GB, free: 4.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1561, allocations: 77.11 kB / 0.6473 GB, free: 3.918 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.1563, allocations: 70.47 kB / 0.6474 GB, free: 3.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1563, allocations: 3.984 kB / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003011/0.1566, allocations: 101.6 kB / 0.6475 GB, free: 3.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1566, allocations: 4 kB / 0.6475 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1566, allocations: 7.984 kB / 0.6475 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1566, allocations: 0 / 0.6475 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1567, allocations: 11.98 kB / 0.6475 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1567, allocations: 3.938 kB / 0.6475 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.1568, allocations: 15.94 kB / 0.6475 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1568, allocations: 0 / 0.6475 GB, free: 3.688 MB / 0.545 GB 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.0001157/0.1569, allocations: 133.9 kB / 0.6477 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.157, allocations: 16.19 kB / 0.6477 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.157, allocations: 13.03 kB / 0.6477 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.157, allocations: 3.984 kB / 0.6477 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.157, allocations: 3.938 kB / 0.6477 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.157, allocations: 7.984 kB / 0.6477 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1572, allocations: 149.3 kB / 0.6478 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1572, allocations: 0 / 0.6478 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.1573, allocations: 11.98 kB / 0.6479 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1573, allocations: 0 / 0.6479 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.1573, allocations: 7.938 kB / 0.6479 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1573, allocations: 0 / 0.6479 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1573, allocations: 0 / 0.6479 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1576, allocations: 124.9 kB / 0.648 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.1576, allocations: 11.91 kB / 0.648 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1576, allocations: 0 / 0.648 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.1577, allocations: 11.98 kB / 0.648 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1577, allocations: 7.938 kB / 0.648 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.1578, allocations: 15.98 kB / 0.648 GB, free: 3.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001763/0.1579, allocations: 173.8 kB / 0.6482 GB, free: 2.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1579, allocations: 0 / 0.6482 GB, free: 2.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002269/0.1582, allocations: 23.89 kB / 0.6482 GB, free: 2.934 MB / 0.545 GB 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.0002045/0.1584, allocations: 131 kB / 0.6483 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1587, allocations: 63.88 kB / 0.6484 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1587, allocations: 0 / 0.6484 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1588, allocations: 23.98 kB / 0.6484 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1591, allocations: 42.56 kB / 0.6485 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.1596, allocations: 288.5 kB / 0.6487 GB, free: 2.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.1597, allocations: 106.5 kB / 0.6488 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1598, allocations: 20.61 kB / 0.6489 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.1598, allocations: 16.48 kB / 0.6489 GB, free: 2.191 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1598, allocations: 0 / 0.6489 GB, free: 2.191 MB / 0.545 GB Notification: Performance of Templates: time 0.00507/0.1649, allocations: 1.758 MB / 0.6506 GB, free: 488 kB / 0.545 GB " [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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.279902682988904] Failed to read output from testmodel.py, exit status != 0: 0.1728610850404948 0.18707384800000001 0.032182009000000004 Calling exit ...