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.001632/0.001632, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.0018/0.0018, allocations: 189.2 kB / 17.34 MB, free: 5.707 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002575, allocations: 294.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9965/0.9965, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4338, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003117/0.4369, allocations: 1.706 MB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.4377, allocations: 0.5115 MB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.4377, allocations: 0 / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.4381, allocations: 139.5 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.4382, allocations: 55.67 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.4385, allocations: 71.78 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.4386, allocations: 99.5 kB / 0.7696 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.4387, allocations: 7.984 kB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.176e-05/0.4387, allocations: 35.8 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.4388, allocations: 43.83 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.4388, allocations: 3.984 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.439, allocations: 87.84 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.4391, allocations: 67.73 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.4392, allocations: 59.56 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.4395, allocations: 200.7 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4395, allocations: 0 / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4395, allocations: 4 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4395, allocations: 0 / 0.77 GB, free: 0.8398 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.0006647/0.4402, allocations: 498 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4402, allocations: 8.031 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.4402, allocations: 20.84 kB / 0.7705 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.4404, allocations: 211.9 kB / 0.7707 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4404, allocations: 4.375 kB / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.4404, allocations: 384 / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4407, allocations: 66.28 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4407, allocations: 7.922 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.4407, allocations: 0 / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4407, allocations: 3.938 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.4409, allocations: 63.89 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.4414, allocations: 332.8 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.4416, allocations: 66.48 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4417, allocations: 32.89 kB / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.4417, allocations: 8 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4417, allocations: 38.56 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4417, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004181/0.4422, allocations: 141.5 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4422, allocations: 51.41 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.4425, allocations: 254.7 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4425, allocations: 25.7 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4426, allocations: 140.1 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.4426, allocations: 4 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.4426, allocations: 13.84 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4428, allocations: 334.8 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4429, allocations: 23.98 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.356e-05/0.443, allocations: 31.97 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.4432, allocations: 68.81 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4432, allocations: 7.938 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002521/0.4434, allocations: 109.5 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4435, allocations: 4 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4435, allocations: 3.984 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4435, allocations: 0 / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.4436, allocations: 8 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4436, allocations: 0 / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.4436, allocations: 15.95 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4436, allocations: 0 / 0.7725 GB, free: 14.08 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.0001247/0.4438, allocations: 144.2 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.4438, allocations: 19.86 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.4441, allocations: 114.5 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4441, allocations: 0 / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4441, allocations: 0 / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4441, allocations: 8.016 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.4444, allocations: 217.6 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4444, allocations: 4 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.4444, allocations: 11.98 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4444, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.4444, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4444, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4444, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4447, allocations: 215.2 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.4448, allocations: 89.02 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4448, allocations: 0 / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4449, allocations: 11.98 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.445, allocations: 0 / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.445, allocations: 0 / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000191/0.4451, allocations: 193.9 kB / 0.7735 GB, free: 12.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4451, allocations: 4.031 kB / 0.7735 GB, free: 12.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002986/0.4454, allocations: 39.88 kB / 0.7735 GB, free: 12.93 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.000203/0.4456, allocations: 119.2 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4459, allocations: 63.94 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4459, allocations: 0 / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.446, allocations: 35.98 kB / 0.7738 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.4465, allocations: 56.27 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.4471, allocations: 338.1 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4475, allocations: 0.7314 MB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.575e-05/0.4475, allocations: 15.72 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.4475, allocations: 7.438 kB / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.4475, allocations: 0 / 0.7749 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Templates: time 0.005116/0.4527, allocations: 1.809 MB / 0.7766 GB, free: 9.738 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)