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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 110.3 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 202.6 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9224/0.9224, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 68.86 kB / 0.5911 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1954, allocations: 83.25 MB / 0.6724 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003081/0.1985, allocations: 1.647 MB / 0.674 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009727/0.1994, allocations: 0.5571 MB / 0.6746 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.1995, allocations: 11.94 kB / 0.6746 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1997, allocations: 27.72 kB / 0.6746 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.2, allocations: 63.67 kB / 0.6747 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.2001, allocations: 63.91 kB / 0.6748 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2003, allocations: 135.5 kB / 0.6749 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2005, allocations: 37.47 kB / 0.6749 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2006, allocations: 55.72 kB / 0.675 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2008, allocations: 63.75 kB / 0.675 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.2008, allocations: 8 kB / 0.675 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.2008, allocations: 23.98 kB / 0.6751 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2009, allocations: 43.83 kB / 0.6751 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.201, allocations: 63.55 kB / 0.6752 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2013, allocations: 147.2 kB / 0.6753 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2013, allocations: 0 / 0.6753 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2013, allocations: 0 / 0.6753 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2013, allocations: 0 / 0.6753 GB, free: 0.9648 MB / 0.4981 GB 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.0007481/0.202, allocations: 478.4 kB / 0.6758 GB, free: 460 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2021, allocations: 8.031 kB / 0.6758 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.2021, allocations: 16.84 kB / 0.6758 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.2025, allocations: 244.9 kB / 0.676 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.2025, allocations: 8.375 kB / 0.676 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.2025, allocations: 4.375 kB / 0.676 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.2028, allocations: 121 kB / 0.6761 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2028, allocations: 0 / 0.6761 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2028, allocations: 0 / 0.6761 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2028, allocations: 0 / 0.6761 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2031, allocations: 67.95 kB / 0.6762 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.2037, allocations: 384.5 kB / 0.6766 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2039, allocations: 46.5 kB / 0.6766 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.204, allocations: 24.89 kB / 0.6766 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.204, allocations: 0 / 0.6766 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.2042, allocations: 101.1 kB / 0.6767 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2042, allocations: 4 kB / 0.6767 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004302/0.2046, allocations: 117.4 kB / 0.6769 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.2047, allocations: 81.09 kB / 0.6769 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.205, allocations: 261 kB / 0.6772 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.205, allocations: 25.7 kB / 0.6772 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.2051, allocations: 136 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.2051, allocations: 7.891 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.2052, allocations: 17.72 kB / 0.6774 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2053, allocations: 334.8 kB / 0.6777 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2054, allocations: 15.98 kB / 0.6777 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.2056, allocations: 51.59 kB / 0.6777 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.2058, allocations: 78.48 kB / 0.6778 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2058, allocations: 0 / 0.6778 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002556/0.206, allocations: 101.5 kB / 0.6779 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.206, allocations: 4 kB / 0.6779 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.206, allocations: 0 / 0.6779 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2061, allocations: 8.031 kB / 0.6779 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2062, allocations: 16.06 kB / 0.6779 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2062, allocations: 4 kB / 0.6779 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.2063, allocations: 11.98 kB / 0.678 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2063, allocations: 0 / 0.678 GB, free: 13.98 MB / 0.5137 GB 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 0.0001207/0.2064, allocations: 133.8 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.2064, allocations: 19.86 kB / 0.6781 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.2065, allocations: 17.23 kB / 0.6781 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2065, allocations: 7.938 kB / 0.6781 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.2065, allocations: 0 / 0.6781 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2065, allocations: 8 kB / 0.6781 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.2067, allocations: 213.6 kB / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2067, allocations: 0 / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.2068, allocations: 11.98 kB / 0.6784 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2068, allocations: 0 / 0.6784 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2068, allocations: 0 / 0.6784 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.2068, allocations: 3.938 kB / 0.6784 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2068, allocations: 4 kB / 0.6784 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.2071, allocations: 121 kB / 0.6785 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.2071, allocations: 92.97 kB / 0.6786 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.2072, allocations: 4 kB / 0.6786 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.2072, allocations: 11.92 kB / 0.6786 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.2073, allocations: 11.94 kB / 0.6786 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.2073, allocations: 7.984 kB / 0.6786 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001843/0.2075, allocations: 184.5 kB / 0.6788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2075, allocations: 4 kB / 0.6788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002189/0.2077, allocations: 27.92 kB / 0.6788 GB, free: 13.02 MB / 0.5137 GB 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.0002333/0.2079, allocations: 111 kB / 0.6789 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.2082, allocations: 59.94 kB / 0.679 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2082, allocations: 0 / 0.679 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2083, allocations: 31.91 kB / 0.679 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.2086, allocations: 48.34 kB / 0.679 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.2092, allocations: 276.2 kB / 0.6793 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2095, allocations: 0.7276 MB / 0.68 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.2096, allocations: 16.55 kB / 0.68 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.2096, allocations: 11.44 kB / 0.68 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.2096, allocations: 0 / 0.68 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.005249/0.2149, allocations: 1.78 MB / 0.6818 GB, free: 9.938 MB / 0.5137 GB 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480]