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.0009442/0.0009442, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0009335/0.0009335, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.058/1.058, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.624/0.624, allocations: 115 MB / 376 MB, free: 7.492 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.663e-06/1.663e-06, allocations: 0 / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.247e-05, allocations: 3.297 kB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002085/0.002107, allocations: 1.687 MB / 483.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.002913, allocations: 0.6018 MB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.003007, allocations: 6.156 kB / 484.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.00318, allocations: 18.81 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.003392, allocations: 65.81 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.00359, allocations: 75.2 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.003752, allocations: 139.7 kB / 484.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.003879, allocations: 36.05 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.004058, allocations: 85.7 kB / 484.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.004147, allocations: 53.59 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.004179, allocations: 8.25 kB / 484.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.004244, allocations: 20.84 kB / 484.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.004319, allocations: 53.11 kB / 484.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.004353, allocations: 27.53 kB / 484.8 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004517, allocations: 124 kB / 484.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.004521, allocations: 1.344 kB / 484.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004522, allocations: 1.375 kB / 484.9 MB, free: 9.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.004527, allocations: 0 / 484.9 MB, free: 9.938 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.0004103/0.004937, allocations: 0.4886 MB / 485.4 MB, free: 9.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.004977, allocations: 10.19 kB / 485.4 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.005101, allocations: 32.31 kB / 485.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.005296, allocations: 195.4 kB / 485.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.005307, allocations: 3.062 kB / 485.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.005318, allocations: 9.266 kB / 485.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.005465, allocations: 129.1 kB / 485.8 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.005473, allocations: 4.812 kB / 485.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005482, allocations: 2.062 kB / 485.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.005489, allocations: 5.156 kB / 485.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.005513, allocations: 12.34 kB / 485.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.005824, allocations: 326.5 kB / 486.1 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.00586, allocations: 29.62 kB / 486.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.005876, allocations: 9 kB / 486.2 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.005892, allocations: 2.625 kB / 486.2 MB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.005995, allocations: 127.4 kB / 486.3 MB, free: 8.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.005996, allocations: 5 kB / 486.3 MB, free: 8.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.006125, allocations: 56.77 kB / 486.4 MB, free: 8.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.006149, allocations: 78.52 kB / 486.4 MB, free: 8.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.006276, allocations: 261.6 kB / 486.7 MB, free: 8.363 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.006288, allocations: 29.75 kB / 486.7 MB, free: 8.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.006526, allocations: 180.1 kB / 486.9 MB, free: 24.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.006543, allocations: 9.297 kB / 486.9 MB, free: 24.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.006574, allocations: 19.12 kB / 486.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.006699, allocations: 0.5044 MB / 487.4 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.006714, allocations: 2.375 kB / 487.4 MB, free: 23.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.006742, allocations: 68.14 kB / 487.5 MB, free: 23.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.006776, allocations: 34.27 kB / 487.5 MB, free: 23.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006779, allocations: 0.7188 kB / 487.5 MB, free: 23.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.658e-05/0.006855, allocations: 61.45 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.006869, allocations: 5.188 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.006877, allocations: 4.266 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.006889, allocations: 1.531 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.006954, allocations: 11.38 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.006958, allocations: 1.031 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.006995, allocations: 12.44 kB / 487.6 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.007003, allocations: 6.844 kB / 487.6 MB, free: 23.45 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 6.403e-05/0.007067, allocations: 166 kB / 487.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.007085, allocations: 13.78 kB / 487.8 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.007115, allocations: 23.31 kB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.007117, allocations: 0.9688 kB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.007119, allocations: 0 / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007122, allocations: 1.438 kB / 487.8 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.007214, allocations: 131.2 kB / 488 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007216, allocations: 3.984 kB / 488 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.00724, allocations: 8.359 kB / 488 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007241, allocations: 0.5625 kB / 488 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.007247, allocations: 12 kB / 488 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007248, allocations: 0 / 488 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007249, allocations: 0 / 488 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.662e-05/0.007335, allocations: 92.98 kB / 488.1 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.007347, allocations: 15.84 kB / 488.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.007358, allocations: 1.719 kB / 488.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/0.007383, allocations: 14.41 kB / 488.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.007412, allocations: 3.234 kB / 488.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.007427, allocations: 2.781 kB / 488.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.866e-05/0.007505, allocations: 186.3 kB / 488.3 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007505, allocations: 0 / 488.3 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.007651, allocations: 21.02 kB / 488.3 MB, free: 22.88 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.0001772/0.007828, allocations: 138.9 kB / 488.4 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.874e-05/0.007907, allocations: 21.88 kB / 488.5 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.007909, allocations: 1.281 kB / 488.5 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.007927, allocations: 15.17 kB / 488.5 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.0002015/0.008129, allocations: 45.91 kB / 488.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.00861, allocations: 268.9 kB / 488.8 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.008646, allocations: 68.42 kB / 488.9 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.008686, allocations: 15.66 kB / 488.9 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.008765, allocations: 97.7 kB / 489 MB, free: 22.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008766, allocations: 3.938 kB / 489 MB, free: 22.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003912/0.01268, allocations: 1.926 MB / 490.9 MB, free: 22.2 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.620744085405022]