Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004783/0.004783, allocations: 102 kB / 15.73 MB, free: 6.039 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.001083/0.001083, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 296.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9066/0.9066, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 95.84 kB / 0.6814 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4507, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.00336/0.4541, allocations: 1.694 MB / 0.768 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000856/0.455, allocations: 0.5115 MB / 0.7685 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.4551, allocations: 0 / 0.7685 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.4556, allocations: 147.4 kB / 0.7687 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.726e-05/0.4557, allocations: 51.73 kB / 0.7687 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.456, allocations: 67.73 kB / 0.7688 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.4562, allocations: 107.5 kB / 0.7689 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.4563, allocations: 11.64 kB / 0.7689 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.4564, allocations: 43.78 kB / 0.7689 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.4565, allocations: 39.84 kB / 0.769 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.4565, allocations: 4 kB / 0.769 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.4567, allocations: 87.83 kB / 0.7691 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.4568, allocations: 63.8 kB / 0.7691 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.4569, allocations: 63.55 kB / 0.7692 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.4572, allocations: 182 kB / 0.7694 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4572, allocations: 4 kB / 0.7694 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4572, allocations: 0 / 0.7694 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4572, allocations: 3.938 kB / 0.7694 GB, free: 0.8672 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00062/0.4578, allocations: 486.2 kB / 0.7698 GB, free: 352 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4579, allocations: 12.03 kB / 0.7698 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.458, allocations: 24.59 kB / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4581, allocations: 215.7 kB / 0.7701 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4581, allocations: 384 / 0.7701 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.4582, allocations: 4.359 kB / 0.7701 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4584, allocations: 70.22 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4584, allocations: 3.938 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4584, allocations: 0 / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4584, allocations: 4 kB / 0.7701 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4586, allocations: 55.95 kB / 0.7702 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.4591, allocations: 328.8 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.4592, allocations: 66.48 kB / 0.7706 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/0.4594, allocations: 36.89 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.4594, allocations: 12 kB / 0.7706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4594, allocations: 38.55 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4594, allocations: 4 kB / 0.7707 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000425/0.4599, allocations: 133.4 kB / 0.7708 GB, free: 15.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4599, allocations: 51.41 kB / 0.7708 GB, free: 15.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.4602, allocations: 258.7 kB / 0.7711 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.4602, allocations: 25.7 kB / 0.7711 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.4603, allocations: 132.1 kB / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.4603, allocations: 12.02 kB / 0.7712 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4604, allocations: 13.72 kB / 0.7713 GB, free: 14.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4605, allocations: 330.8 kB / 0.7716 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.4606, allocations: 27.98 kB / 0.7716 GB, free: 14.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.4607, allocations: 31.97 kB / 0.7716 GB, free: 14.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4609, allocations: 64.88 kB / 0.7717 GB, free: 14.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4609, allocations: 3.938 kB / 0.7717 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002304/0.4612, allocations: 113.3 kB / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4612, allocations: 4 kB / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4612, allocations: 0 / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4612, allocations: 4 kB / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.4613, allocations: 11.98 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4613, allocations: 0 / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.4614, allocations: 11.97 kB / 0.7718 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.4614, allocations: 0 / 0.7718 GB, free: 14.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001148/0.4615, allocations: 141.8 kB / 0.772 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.4616, allocations: 19.75 kB / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.462, allocations: 118.4 kB / 0.7721 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.462, allocations: 4 kB / 0.7721 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.462, allocations: 7.969 kB / 0.7721 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.462, allocations: 0 / 0.7721 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4622, allocations: 217.6 kB / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4623, allocations: 0 / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.4623, allocations: 7.984 kB / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4623, allocations: 0 / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4623, allocations: 4 kB / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4624, allocations: 0 / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4624, allocations: 0 / 0.7723 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.4627, allocations: 207.2 kB / 0.7725 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.4627, allocations: 92.92 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4628, allocations: 0 / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.4629, allocations: 7.984 kB / 0.7726 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.4629, allocations: 7.938 kB / 0.7726 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4629, allocations: 0 / 0.7726 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001781/0.4631, allocations: 194 kB / 0.7728 GB, free: 13 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4631, allocations: 0 / 0.7728 GB, free: 13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003164/0.4634, allocations: 36 kB / 0.7729 GB, free: 12.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002181/0.4637, allocations: 127.2 kB / 0.773 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.4639, allocations: 59.95 kB / 0.773 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4639, allocations: 0 / 0.773 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.464, allocations: 36.03 kB / 0.7731 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.4645, allocations: 56.33 kB / 0.7731 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.4651, allocations: 338.3 kB / 0.7734 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4654, allocations: 0.7275 MB / 0.7742 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.4655, allocations: 7.75 kB / 0.7742 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.4655, allocations: 11.44 kB / 0.7742 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4655, allocations: 0 / 0.7742 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Templates: time 0.004982/0.4705, allocations: 1.825 MB / 0.776 GB, free: 9.766 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)