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.0009218/0.0009218, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001116/0.001116, allocations: 165 kB / 23.8 MB, free: 0.7695 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.07/1.07, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 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.6626/0.6626, allocations: 115 MB / 375.7 MB, free: 7.617 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.583e-06/1.583e-06, allocations: 0.875 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.708e-05, allocations: 9.188 kB / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002376/0.002403, allocations: 1.694 MB / 483.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008317/0.003235, allocations: 0.6065 MB / 483.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.003331, allocations: 8.25 kB / 483.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.003549, allocations: 28.91 kB / 483.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.003794, allocations: 59.39 kB / 483.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.004014, allocations: 81.08 kB / 484 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004193, allocations: 139.8 kB / 484.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.004329, allocations: 27.97 kB / 484.1 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.00453, allocations: 84.81 kB / 484.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.004625, allocations: 50.02 kB / 484.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.004652, allocations: 12.16 kB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.00472, allocations: 21.56 kB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.0048, allocations: 52.84 kB / 484.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.004845, allocations: 31.72 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.005034, allocations: 119.3 kB / 484.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005037, allocations: 1.062 kB / 484.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005038, allocations: 1.188 kB / 484.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005043, allocations: 3.938 kB / 484.5 MB, free: 9.992 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.0004611/0.005504, allocations: 494.8 kB / 485 MB, free: 9.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.005541, allocations: 9 kB / 485 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.00569, allocations: 36.91 kB / 485 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.00589, allocations: 188.2 kB / 485.2 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.005903, allocations: 8.094 kB / 485.2 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.005918, allocations: 5.094 kB / 485.2 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.006086, allocations: 135.1 kB / 485.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.006094, allocations: 1.156 kB / 485.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.006105, allocations: 1.875 kB / 485.4 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.006115, allocations: 5.531 kB / 485.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.006151, allocations: 22.34 kB / 485.4 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.006515, allocations: 352.4 kB / 485.7 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.355e-05/0.006558, allocations: 29.55 kB / 485.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.00658, allocations: 13.09 kB / 485.8 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.006591, allocations: 2.531 kB / 485.8 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.006701, allocations: 133.2 kB / 485.9 MB, free: 8.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.006703, allocations: 1.062 kB / 485.9 MB, free: 8.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001558/0.006859, allocations: 56.16 kB / 486 MB, free: 8.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.006885, allocations: 82.48 kB / 486 MB, free: 8.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.007023, allocations: 267 kB / 486.3 MB, free: 8.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.007033, allocations: 29.7 kB / 486.3 MB, free: 8.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.007284, allocations: 176 kB / 486.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.007304, allocations: 9.422 kB / 486.5 MB, free: 24.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.007332, allocations: 19.41 kB / 486.5 MB, free: 24.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.00746, allocations: 0.5041 MB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.00748, allocations: 2.406 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.007511, allocations: 65.33 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.007551, allocations: 37.75 kB / 487.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.007554, allocations: 2 kB / 487.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.112e-05/0.007635, allocations: 60.48 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.007652, allocations: 7.625 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.007658, allocations: 5.641 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.007674, allocations: 0.7812 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.007749, allocations: 6.5 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.007755, allocations: 1.062 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.007791, allocations: 13.39 kB / 487.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.007798, allocations: 5.344 kB / 487.2 MB, free: 23.49 MB / 426.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 7.971e-05/0.007877, allocations: 161.4 kB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.007895, allocations: 15.31 kB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.007926, allocations: 21.72 kB / 487.4 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.007927, allocations: 1.188 kB / 487.4 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.007931, allocations: 1.281 kB / 487.4 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007934, allocations: 0 / 487.4 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.008031, allocations: 171.6 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008033, allocations: 3.938 kB / 487.6 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.008063, allocations: 13.38 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008065, allocations: 2.031 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008073, allocations: 1.344 kB / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008075, allocations: 0 / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008076, allocations: 0 / 487.6 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.009e-05/0.008166, allocations: 97.48 kB / 487.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.008178, allocations: 15.31 kB / 487.7 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.008192, allocations: 2.094 kB / 487.7 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.00822, allocations: 8.188 kB / 487.7 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.008267, allocations: 7.359 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.008288, allocations: 9.203 kB / 487.8 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.008391, allocations: 188.2 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008391, allocations: 0 / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.008545, allocations: 20.89 kB / 488 MB, free: 22.89 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.0002077/0.008753, allocations: 129.2 kB / 488.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.008863, allocations: 26.94 kB / 488.1 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008865, allocations: 0 / 488.1 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.008886, allocations: 14 kB / 488.1 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.00911, allocations: 46.28 kB / 488.2 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.009736, allocations: 279.2 kB / 488.4 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.009769, allocations: 68.45 kB / 488.5 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.009817, allocations: 20.23 kB / 488.5 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.009852, allocations: 15.47 kB / 488.5 MB, free: 22.45 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009853, allocations: 0 / 488.5 MB, free: 22.45 MB / 426.7 MB Notification: Performance of Templates: time 0.004577/0.01443, allocations: 1.89 MB / 490.4 MB, free: 22.29 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7337302938103676]