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.006975/0.006975, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001627/0.001627, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 293.6 kB / 290.8 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.926/0.926, allocations: 169.3 MB / 0.4983 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 95.84 kB / 0.6814 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4342, allocations: 86.98 MB / 0.7664 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003581/0.4378, allocations: 1.702 MB / 0.768 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009758/0.4388, allocations: 0.5115 MB / 0.7685 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.4389, allocations: 0 / 0.7685 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.4394, allocations: 143.5 kB / 0.7687 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.4396, allocations: 55.61 kB / 0.7687 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.4399, allocations: 71.8 kB / 0.7688 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.4401, allocations: 99.5 kB / 0.7689 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.4401, allocations: 7.656 kB / 0.7689 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.4402, allocations: 39.78 kB / 0.7689 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.4403, allocations: 47.81 kB / 0.769 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.4404, allocations: 4 kB / 0.769 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.4406, allocations: 87.84 kB / 0.7691 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4407, allocations: 59.8 kB / 0.7691 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.4408, allocations: 63.56 kB / 0.7692 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.4412, allocations: 201.9 kB / 0.7694 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4412, allocations: 0 / 0.7694 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4412, allocations: 0 / 0.7694 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4412, allocations: 0 / 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.0007124/0.4419, allocations: 482.2 kB / 0.7698 GB, free: 356 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.442, allocations: 8.031 kB / 0.7698 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.4421, allocations: 24.59 kB / 0.7699 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4423, allocations: 215.7 kB / 0.7701 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4424, allocations: 384 / 0.7701 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.4424, allocations: 8.375 kB / 0.7701 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.4427, allocations: 66.22 kB / 0.7701 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4427, allocations: 3.938 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4427, allocations: 0 / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4427, allocations: 0 / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.443, allocations: 63.88 kB / 0.7702 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.4437, allocations: 332.9 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.4439, allocations: 62.48 kB / 0.7706 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.444, allocations: 32.91 kB / 0.7706 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.4441, allocations: 11.98 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4441, allocations: 38.56 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.4441, allocations: 0 / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0005507/0.4447, allocations: 137.4 kB / 0.7708 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.4447, allocations: 51.41 kB / 0.7708 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.4451, allocations: 258.7 kB / 0.7711 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4451, allocations: 25.7 kB / 0.7711 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4453, allocations: 128.2 kB / 0.7712 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4453, allocations: 15.89 kB / 0.7712 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4453, allocations: 13.72 kB / 0.7713 GB, free: 14.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4455, allocations: 330.8 kB / 0.7716 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4456, allocations: 27.97 kB / 0.7716 GB, free: 14.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4458, allocations: 31.97 kB / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.446, allocations: 72.75 kB / 0.7717 GB, free: 14.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4461, 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.000328/0.4464, allocations: 105.4 kB / 0.7718 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4464, allocations: 8 kB / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4465, allocations: 0 / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4465, allocations: 0 / 0.7718 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4466, allocations: 11.98 kB / 0.7718 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.4466, allocations: 4.031 kB / 0.7718 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4467, allocations: 11.92 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4467, allocations: 0 / 0.7718 GB, free: 14.12 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.0001348/0.4469, allocations: 133.8 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4469, allocations: 19.75 kB / 0.772 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4473, allocations: 118.4 kB / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4473, allocations: 4.031 kB / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4473, allocations: 0 / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4473, allocations: 0 / 0.7721 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.4477, allocations: 221.5 kB / 0.7723 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4477, allocations: 0 / 0.7723 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.4477, allocations: 11.98 kB / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4478, allocations: 0 / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.4478, allocations: 0 / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4478, allocations: 0 / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4478, allocations: 0 / 0.7723 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.4482, allocations: 215.1 kB / 0.7725 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.4482, allocations: 92.91 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.4483, allocations: 4 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.4485, allocations: 4 kB / 0.7726 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.4485, allocations: 3.984 kB / 0.7726 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4485, allocations: 0 / 0.7726 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002334/0.4488, allocations: 194 kB / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4488, allocations: 0 / 0.7728 GB, free: 13.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004886/0.4493, allocations: 39.98 kB / 0.7729 GB, free: 12.98 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.0002387/0.4495, allocations: 127.2 kB / 0.773 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.4499, allocations: 59.95 kB / 0.773 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4499, allocations: 0 / 0.773 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.45, allocations: 39.97 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.4508, allocations: 48.33 kB / 0.7731 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.4515, allocations: 330.4 kB / 0.7734 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4519, allocations: 0.7353 MB / 0.7742 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.156e-05/0.4519, allocations: 7.75 kB / 0.7742 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.452, allocations: 11.44 kB / 0.7742 GB, free: 11.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.452, allocations: 0 / 0.7742 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Templates: time 0.006033/0.458, allocations: 1.796 MB / 0.7759 GB, free: 9.809 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)