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.0006712/0.0006712, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008916/0.001563, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006709/0.0006709, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009038/0.001575, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9252/0.9252, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1.009, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.696/0.696, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07533/0.7713, allocations: 38.15 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.513e-06/1.513e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.137e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002249/0.002271, allocations: 1.751 MB / 405.4 MB, free: 9.215 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003281, allocations: 0.6037 MB / 406.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.003359, allocations: 3.938 kB / 406.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003487, allocations: 31.72 kB / 406.1 MB, free: 8.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.003669, allocations: 63.67 kB / 406.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.003815, allocations: 79.72 kB / 406.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.003976, allocations: 131.6 kB / 406.4 MB, free: 8.301 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.004106, allocations: 38.31 kB / 406.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.004296, allocations: 104.4 kB / 406.5 MB, free: 8.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.004389, allocations: 51.81 kB / 406.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.004413, allocations: 8 kB / 406.6 MB, free: 8.102 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.004491, allocations: 27.98 kB / 406.6 MB, free: 8.074 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.754e-05/0.004559, allocations: 43.86 kB / 406.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.004591, allocations: 23.88 kB / 406.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004757, allocations: 115.5 kB / 406.8 MB, free: 7.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.00477, allocations: 3.984 kB / 406.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.004771, allocations: 0 / 406.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.004783, allocations: 0 / 406.8 MB, free: 7.891 MB / 394.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.0005126/0.005295, allocations: 391.5 kB / 407.1 MB, free: 7.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.005334, allocations: 8.031 kB / 407.2 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.005518, allocations: 106 kB / 407.3 MB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.005747, allocations: 189.2 kB / 407.4 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.005758, allocations: 4.375 kB / 407.4 MB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.005776, allocations: 8.375 kB / 407.5 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.005953, allocations: 144.8 kB / 407.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005963, allocations: 0 / 407.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.005973, allocations: 0 / 407.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.00598, allocations: 0 / 407.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.006006, allocations: 11.98 kB / 407.6 MB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.006364, allocations: 221.7 kB / 407.8 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.85e-05/0.006413, allocations: 18.58 kB / 407.8 MB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.00643, allocations: 8.859 kB / 407.9 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.006444, allocations: 0 / 407.9 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.006561, allocations: 128.5 kB / 408 MB, free: 6.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.006562, allocations: 0 / 408 MB, free: 6.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001127/0.006675, allocations: 41.88 kB / 408 MB, free: 6.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.006702, allocations: 55.41 kB / 408.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.006825, allocations: 209 kB / 408.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.006841, allocations: 33.7 kB / 408.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.006892, allocations: 116.5 kB / 408.4 MB, free: 6.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.00691, allocations: 3.953 kB / 408.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.006945, allocations: 21.7 kB / 408.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.00704, allocations: 338.7 kB / 408.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.007053, allocations: 0 / 408.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.007101, allocations: 81.91 kB / 408.9 MB, free: 5.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.007134, allocations: 20.53 kB / 408.9 MB, free: 5.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007136, allocations: 0 / 408.9 MB, free: 5.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.269e-05/0.007199, allocations: 53.66 kB / 408.9 MB, free: 5.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.007211, allocations: 4 kB / 408.9 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007216, allocations: 0 / 408.9 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.007231, allocations: 4 kB / 408.9 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.007313, allocations: 7.984 kB / 408.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007318, allocations: 0 / 408.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.007354, allocations: 23.81 kB / 409 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.007367, allocations: 0 / 409 MB, free: 5.438 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.219e-05/0.007429, allocations: 116.7 kB / 409.1 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.007442, allocations: 12.05 kB / 409.1 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.00747, allocations: 17.03 kB / 409.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.007473, allocations: 3.984 kB / 409.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007475, allocations: 0 / 409.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007478, allocations: 0 / 409.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.903e-05/0.007557, allocations: 97.78 kB / 409.2 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007558, allocations: 0 / 409.2 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.007591, allocations: 11.94 kB / 409.2 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.007604, allocations: 19.88 kB / 409.2 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007607, allocations: 4 kB / 409.2 MB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.007613, allocations: 4 kB / 409.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.007614, allocations: 4 kB / 409.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007615, allocations: 0 / 409.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.069e-05/0.007695, allocations: 73.05 kB / 409.3 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.007707, allocations: 0 / 409.3 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.007733, allocations: 4 kB / 409.3 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.007771, allocations: 7.984 kB / 409.3 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.00778, allocations: 4 kB / 409.3 MB, free: 5.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.007835, allocations: 70.23 kB / 409.4 MB, free: 4.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007835, allocations: 0 / 409.4 MB, free: 4.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001156/0.00795, allocations: 20 kB / 409.4 MB, free: 4.926 MB / 394.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.0002234/0.008174, allocations: 112.1 kB / 409.5 MB, free: 4.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.00828, allocations: 20.84 kB / 409.6 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.008291, allocations: 4 kB / 409.6 MB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.008314, allocations: 9 kB / 409.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.008563, allocations: 209.3 kB / 409.8 MB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.009363, allocations: 279.2 kB / 410 MB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.009403, allocations: 67.33 kB / 410.1 MB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.214e-05/0.009445, allocations: 12.48 kB / 410.1 MB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.009529, allocations: 79.33 kB / 410.2 MB, free: 4.051 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.00953, allocations: 0 / 410.2 MB, free: 4.051 MB / 394.7 MB Notification: Performance of Templates: time 0.003998/0.01353, allocations: 1.874 MB / 412.1 MB, free: 2.172 MB / 394.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1861361218616366]