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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5151/0.5151, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 109.6 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.91 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3166, allocations: 70.05 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002761/0.3194, allocations: 1.688 MB / 0.5591 GB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.3201, allocations: 0.5489 MB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.3202, allocations: 0 / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3203, allocations: 15.86 kB / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3206, allocations: 62.25 kB / 0.5597 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.3207, allocations: 55.94 kB / 0.5598 GB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3208, allocations: 135.5 kB / 0.5599 GB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3209, allocations: 40.97 kB / 0.56 GB, free: 42.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.321, allocations: 51.83 kB / 0.56 GB, free: 42.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.3211, allocations: 59.7 kB / 0.5601 GB, free: 42.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3212, allocations: 8 kB / 0.5601 GB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.77e-05/0.3212, allocations: 19.92 kB / 0.5601 GB, free: 42.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.3213, allocations: 39.84 kB / 0.5601 GB, free: 42.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.3213, allocations: 67.58 kB / 0.5602 GB, free: 42.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3215, allocations: 129.6 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3215, allocations: 0 / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3215, allocations: 0 / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.3215, allocations: 0 / 0.5603 GB, free: 42.28 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.0004694/0.322, allocations: 478.5 kB / 0.5608 GB, free: 41.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.322, allocations: 8.031 kB / 0.5608 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.3221, allocations: 24.66 kB / 0.5608 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.3222, allocations: 228.9 kB / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-06/0.3222, allocations: 4.375 kB / 0.561 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3223, allocations: 4.375 kB / 0.561 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3225, allocations: 109.9 kB / 0.5611 GB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3225, allocations: 0 / 0.5611 GB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3225, allocations: 8 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3225, allocations: 4 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.3227, allocations: 59.94 kB / 0.5612 GB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.3232, allocations: 388.4 kB / 0.5616 GB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3233, allocations: 38.56 kB / 0.5616 GB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.3234, allocations: 32.89 kB / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3234, allocations: 0 / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.3236, allocations: 101 kB / 0.5618 GB, free: 40.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3237, allocations: 0 / 0.5618 GB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003732/0.324, allocations: 121.4 kB / 0.5619 GB, free: 40.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3241, allocations: 81.09 kB / 0.5619 GB, free: 40.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3242, allocations: 260.8 kB / 0.5622 GB, free: 40.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3243, allocations: 29.7 kB / 0.5622 GB, free: 40.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.3243, allocations: 128.1 kB / 0.5623 GB, free: 40 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.3243, allocations: 7.906 kB / 0.5624 GB, free: 39.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3244, allocations: 21.66 kB / 0.5624 GB, free: 39.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.3244, allocations: 330.8 kB / 0.5627 GB, free: 39.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.3245, allocations: 19.98 kB / 0.5627 GB, free: 39.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.3246, allocations: 55.34 kB / 0.5628 GB, free: 39.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3248, allocations: 66.52 kB / 0.5628 GB, free: 39.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3248, allocations: 0 / 0.5628 GB, free: 39.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002339/0.3251, allocations: 109.6 kB / 0.5629 GB, free: 39.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3251, allocations: 8 kB / 0.5629 GB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3251, allocations: 0 / 0.5629 GB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3251, allocations: 3.938 kB / 0.5629 GB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3252, allocations: 11.98 kB / 0.5629 GB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3252, allocations: 7.938 kB / 0.563 GB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.3253, allocations: 20 kB / 0.563 GB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3253, allocations: 4 kB / 0.563 GB, free: 39.3 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 6.645e-05/0.3254, allocations: 125.8 kB / 0.5631 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3254, allocations: 15.81 kB / 0.5631 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3255, allocations: 21.23 kB / 0.5631 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3255, allocations: 7.938 kB / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3255, allocations: 0 / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3255, allocations: 0 / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.967e-05/0.3256, allocations: 213.6 kB / 0.5633 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3256, allocations: 0 / 0.5633 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.3257, allocations: 15.98 kB / 0.5634 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3257, allocations: 0 / 0.5634 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3257, allocations: 0 / 0.5634 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3257, allocations: 3.938 kB / 0.5634 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3257, allocations: 3.984 kB / 0.5634 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.3261, allocations: 0.7289 MB / 0.5641 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.3262, allocations: 88.92 kB / 0.5642 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3262, allocations: 3.984 kB / 0.5642 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.3263, allocations: 11.98 kB / 0.5642 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.3263, allocations: 3.938 kB / 0.5642 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3264, allocations: 8 kB / 0.5642 GB, free: 37.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3265, allocations: 192.5 kB / 0.5644 GB, free: 37.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3265, allocations: 0 / 0.5644 GB, free: 37.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.3268, allocations: 23.94 kB / 0.5644 GB, free: 37.72 MB / 410.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.0001589/0.3269, allocations: 114 kB / 0.5645 GB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3272, allocations: 59.94 kB / 0.5646 GB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3272, allocations: 0 / 0.5646 GB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3273, allocations: 31.91 kB / 0.5646 GB, free: 37.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.3276, allocations: 41.19 kB / 0.5646 GB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.328, allocations: 424.8 kB / 0.565 GB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3281, allocations: 0.7316 MB / 0.5658 GB, free: 36.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.3282, allocations: 16.53 kB / 0.5658 GB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.3282, allocations: 19.42 kB / 0.5658 GB, free: 36.22 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3283, allocations: 0 / 0.5658 GB, free: 36.22 MB / 410.7 MB Notification: Performance of Templates: time 0.003502/0.3318, allocations: 1.642 MB / 0.5674 GB, free: 34.61 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile (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)