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.000705/0.000705, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009066/0.001612, allocations: 447.8 kB / 10.34 MB, free: 352 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.0007236/0.0007236, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002068, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9385/0.9385, allocations: 177.1 MB / 189.6 MB, free: 3.727 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1641/1.103, allocations: 53.65 MB / 243.2 MB, free: 2.32 MB / 234.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.6264/0.6264, allocations: 119.1 MB / 363 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06462/0.691, allocations: 37.86 MB / 400.9 MB, free: 15.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.282e-06/1.282e-06, allocations: 0 / 402.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.311e-05, allocations: 5.969 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002361/0.002375, allocations: 1.735 MB / 403.9 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.003173, allocations: 0.6076 MB / 404.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.006248, allocations: 7.938 kB / 404.5 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.006359, allocations: 31.72 kB / 404.6 MB, free: 11.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.006528, allocations: 75.61 kB / 404.6 MB, free: 11.53 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.006692, allocations: 75.78 kB / 404.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.006851, allocations: 127.6 kB / 404.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.006964, allocations: 34.31 kB / 404.9 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.007145, allocations: 104.4 kB / 405 MB, free: 11.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.007248, allocations: 47.88 kB / 405 MB, free: 11.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.007272, allocations: 8 kB / 405 MB, free: 11.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.007355, allocations: 27.92 kB / 405.1 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.007421, allocations: 35.86 kB / 405.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.007462, allocations: 31.88 kB / 405.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.00763, allocations: 111.5 kB / 405.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.007644, allocations: 0 / 405.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007645, allocations: 0 / 405.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.007663, allocations: 4 kB / 405.2 MB, free: 10.93 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.0006511/0.008314, allocations: 395.5 kB / 405.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.008348, allocations: 11.89 kB / 405.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.008518, allocations: 102 kB / 405.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.008731, allocations: 185.4 kB / 405.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.00874, allocations: 8.312 kB / 405.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.008752, allocations: 4.375 kB / 405.9 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.008911, allocations: 136.9 kB / 406.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00892, allocations: 7.984 kB / 406.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.008929, allocations: 0 / 406.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.008934, allocations: 0 / 406.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.008965, allocations: 11.98 kB / 406.1 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.01228, allocations: 221.7 kB / 406.3 MB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.01232, allocations: 22.58 kB / 406.3 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.01233, allocations: 12.91 kB / 406.3 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.01235, allocations: 0 / 406.3 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.01246, allocations: 124.4 kB / 406.5 MB, free: 9.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.01246, allocations: 0 / 406.5 MB, free: 9.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001077/0.01257, allocations: 41.69 kB / 406.5 MB, free: 9.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.0126, allocations: 55.41 kB / 406.6 MB, free: 9.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.01274, allocations: 209 kB / 406.8 MB, free: 9.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.01275, allocations: 29.7 kB / 406.8 MB, free: 9.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.0128, allocations: 120.4 kB / 406.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.01281, allocations: 11.95 kB / 406.9 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.01285, allocations: 25.69 kB / 406.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.01294, allocations: 330.7 kB / 407.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.01295, allocations: 0 / 407.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.01298, allocations: 69.98 kB / 407.3 MB, free: 8.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.01302, allocations: 24.53 kB / 407.4 MB, free: 8.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01302, allocations: 0 / 407.4 MB, free: 8.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.677e-05/0.01309, allocations: 49.62 kB / 407.4 MB, free: 8.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.0131, allocations: 11.06 kB / 407.4 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.0131, allocations: 3.984 kB / 407.4 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.01311, allocations: 0 / 407.4 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.01317, allocations: 8 kB / 407.4 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01318, allocations: 0 / 407.4 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.01322, allocations: 19.86 kB / 407.4 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.01323, allocations: 4 kB / 407.4 MB, free: 8.48 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.297e-05/0.0133, allocations: 116.6 kB / 407.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.01331, allocations: 7.984 kB / 407.6 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.01334, allocations: 17.02 kB / 407.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01334, allocations: 8 kB / 407.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01334, allocations: 0 / 407.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01335, allocations: 0 / 407.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.01343, allocations: 101.9 kB / 407.7 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.01343, allocations: 0 / 407.7 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.01346, allocations: 4 kB / 407.7 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.01348, allocations: 23.88 kB / 407.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.01348, allocations: 0 / 407.7 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.01348, allocations: 4.281 kB / 407.7 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.01348, allocations: 4 kB / 407.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01349, allocations: 4 kB / 407.7 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.01355, allocations: 73.03 kB / 407.8 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.01357, allocations: 4 kB / 407.8 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.0136, allocations: 4 kB / 407.8 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.01363, allocations: 11.92 kB / 407.8 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01364, allocations: 7.938 kB / 407.8 MB, free: 8.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.0137, allocations: 77.36 kB / 407.9 MB, free: 7.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0137, allocations: 0 / 407.9 MB, free: 7.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.01386, allocations: 23.95 kB / 407.9 MB, free: 7.945 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.0001523/0.01401, allocations: 109 kB / 408 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.01409, allocations: 16.84 kB / 408.1 MB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.0141, allocations: 4 kB / 408.1 MB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.889e-05/0.01411, allocations: 12.8 kB / 408.1 MB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.01427, allocations: 52.34 kB / 408.1 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.01809, allocations: 283.2 kB / 408.4 MB, free: 7.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01813, allocations: 71.33 kB / 408.5 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.01818, allocations: 12.48 kB / 408.5 MB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.01826, allocations: 79.28 kB / 408.6 MB, free: 7.266 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01826, allocations: 0 / 408.6 MB, free: 7.266 MB / 394.7 MB Notification: Performance of Templates: time 0.003658/0.02192, allocations: 1.897 MB / 410.5 MB, free: 5.406 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.144318767823279]