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.001924/0.001924, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002394/0.002394, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.9634/0.9634, allocations: 115 MB / 375.3 MB, free: 7.574 MB / 346.7 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.483e-06/1.483e-06, allocations: 0 / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.156e-05, allocations: 4.531 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002364/0.002386, allocations: 1.635 MB / 482.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.003271, allocations: 0.5793 MB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.00334, allocations: 8.375 kB / 483 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.003512, allocations: 29.8 kB / 483 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.003743, allocations: 68.92 kB / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.003921, allocations: 74.42 kB / 483.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.004104, allocations: 141.8 kB / 483.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.004234, allocations: 31.88 kB / 483.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.0044, allocations: 84.53 kB / 483.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.004486, allocations: 48.33 kB / 483.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.004513, allocations: 9.344 kB / 483.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.00458, allocations: 28.97 kB / 483.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.00466, allocations: 48.12 kB / 483.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.004709, allocations: 37.03 kB / 483.6 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.004911, allocations: 150 kB / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004914, allocations: 0 / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004914, allocations: 0.6562 kB / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.004919, allocations: 1.094 kB / 483.7 MB, free: 10.06 MB / 410.7 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.0005542/0.005473, allocations: 400.3 kB / 484.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.005507, allocations: 9.25 kB / 484.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.005684, allocations: 33.89 kB / 484.2 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.005955, allocations: 196 kB / 484.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.005968, allocations: 9.031 kB / 484.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.005984, allocations: 5.062 kB / 484.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.006264, allocations: 165 kB / 484.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.006273, allocations: 192 / 484.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.006287, allocations: 1.969 kB / 484.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006292, allocations: 6.531 kB / 484.5 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.00652, allocations: 64.75 kB / 484.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.007006, allocations: 303.5 kB / 484.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.007147, allocations: 45.09 kB / 484.9 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.007253, allocations: 31.98 kB / 485 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.007273, allocations: 1.219 kB / 485 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.00749, allocations: 152.2 kB / 485.1 MB, free: 8.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.007491, allocations: 0 / 485.1 MB, free: 8.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004589/0.00795, allocations: 121.7 kB / 485.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.007982, allocations: 78.45 kB / 485.3 MB, free: 8.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.008197, allocations: 238.2 kB / 485.5 MB, free: 8.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.008211, allocations: 30.8 kB / 485.6 MB, free: 8.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.008268, allocations: 129.7 kB / 485.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.008287, allocations: 8.984 kB / 485.7 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.008322, allocations: 17.58 kB / 485.7 MB, free: 8.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.008374, allocations: 330.3 kB / 486 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.008482, allocations: 25.12 kB / 486.1 MB, free: 8.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.008593, allocations: 77.59 kB / 486.1 MB, free: 8.117 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.00879, allocations: 71.8 kB / 486.2 MB, free: 8.082 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008792, allocations: 0 / 486.2 MB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002667/0.009058, allocations: 97.36 kB / 486.3 MB, free: 8.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.009072, allocations: 9.219 kB / 486.3 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.009076, allocations: 0 / 486.3 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.009094, allocations: 1.281 kB / 486.3 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.009198, allocations: 18.52 kB / 486.3 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009203, allocations: 1.094 kB / 486.3 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.009288, allocations: 14.23 kB / 486.4 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.009297, allocations: 7.844 kB / 486.4 MB, free: 8.023 MB / 410.7 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.0002222/0.009519, allocations: 131.3 kB / 486.5 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.009551, allocations: 21.03 kB / 486.5 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.00958, allocations: 19.23 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009582, allocations: 3.984 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009586, allocations: 0 / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.009588, allocations: 1.219 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.64e-05/0.009684, allocations: 155.6 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.009685, allocations: 0 / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.009777, allocations: 14.52 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009779, allocations: 2.062 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.009788, allocations: 0 / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00979, allocations: 1.844 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00979, allocations: 3.938 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.01005, allocations: 125.2 kB / 486.8 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.01007, allocations: 12.41 kB / 486.8 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.01009, allocations: 5.062 kB / 486.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.01017, allocations: 15.7 kB / 486.9 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.01022, allocations: 6.531 kB / 486.9 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.01024, allocations: 7.703 kB / 486.9 MB, free: 23.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.01039, allocations: 178.1 kB / 487.1 MB, free: 23.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01039, allocations: 1.031 kB / 487.1 MB, free: 23.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.01062, allocations: 25.27 kB / 487.1 MB, free: 23.52 MB / 426.7 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.0002209/0.01084, allocations: 114.7 kB / 487.2 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.01111, allocations: 62.38 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01111, allocations: 1.188 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.01122, allocations: 31.56 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.01151, allocations: 44.64 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.01199, allocations: 280.4 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.317e-05/0.01207, allocations: 113.4 kB / 487.7 MB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.01213, allocations: 17.84 kB / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.01217, allocations: 19.66 kB / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01217, allocations: 0 / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of Templates: time 0.005062/0.01724, allocations: 1.788 MB / 489.5 MB, free: 22.95 MB / 426.7 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.528555505909026]