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.001384/0.001389, allocations: 110.6 kB / 16.42 MB, free: 6.492 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.001031/0.001031, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.284/1.284, allocations: 222.9 MB / 241.1 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.0021/0.002099, allocations: 292.4 kB / 291.5 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.9271/0.9271, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003282/0.003282, allocations: 100.3 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3986, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002488/0.4011, allocations: 1.706 MB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.4018, allocations: 0.5115 MB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.4018, allocations: 4 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.4022, allocations: 143.5 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.4023, allocations: 51.67 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.4025, allocations: 63.8 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.4026, allocations: 103.5 kB / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.4027, allocations: 11.66 kB / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.4028, allocations: 39.78 kB / 0.7696 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.4028, allocations: 47.81 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.4029, allocations: 0 / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.4031, allocations: 87.84 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.4031, allocations: 59.8 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.4032, allocations: 63.56 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.4034, allocations: 201.8 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4035, allocations: 0 / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4035, allocations: 0 / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4035, allocations: 0 / 0.77 GB, free: 0.8242 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.0005411/0.404, allocations: 486.2 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.4041, allocations: 8.031 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.4041, allocations: 20.66 kB / 0.7705 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4043, allocations: 219.6 kB / 0.7707 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4043, allocations: 384 / 0.7707 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.4043, allocations: 4.375 kB / 0.7707 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.4045, allocations: 62.22 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.4045, allocations: 7.938 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4045, allocations: 8 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.4046, allocations: 0 / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.4047, allocations: 59.89 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.4052, allocations: 324.9 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4053, allocations: 74.47 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/0.4054, allocations: 28.91 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4055, allocations: 11.98 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.4055, allocations: 34.56 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4055, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.4059, allocations: 145.4 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.4059, allocations: 51.41 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4061, allocations: 254.7 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4062, allocations: 25.7 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.4062, allocations: 132.1 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.4063, allocations: 7.906 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.4063, allocations: 13.7 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4064, allocations: 335 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.4065, allocations: 27.97 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.4066, allocations: 27.98 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4068, allocations: 64.75 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4068, allocations: 4 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002222/0.407, allocations: 117.4 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.407, allocations: 6.656 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.407, allocations: 0 / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4071, allocations: 0 / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.4071, allocations: 11.98 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4072, allocations: 0 / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.4072, allocations: 7.938 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4072, allocations: 3.984 kB / 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 8.967e-05/0.4073, allocations: 141.8 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.4074, allocations: 19.75 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.4076, allocations: 122.4 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4076, allocations: 0 / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4077, allocations: 0 / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.4077, allocations: 92.83 kB / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.4077, allocations: 0 / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.4078, allocations: 12.02 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.4079, allocations: 7.938 kB / 0.7729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002557/0.4081, allocations: 168.9 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002841/0.4084, allocations: 282.6 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.512e-05/0.4085, allocations: 31.97 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001479/0.4087, allocations: 186 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/0.4087, allocations: 0 / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.4092, allocations: 143.3 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007998/0.41, allocations: 0.8122 MB / 0.7745 GB, free: 11.97 MB / 0.545 GB Notification: Performance of Templates: time 0.004408/0.4144, allocations: 1.869 MB / 0.7763 GB, free: 10.13 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)