Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001851/0.001851, allocations: 189.2 kB / 17.34 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 298.3 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.9914/0.9914, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 99.84 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3982, allocations: 86.97 MB / 0.767 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002958/0.4011, allocations: 1.708 MB / 0.7687 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007941/0.4019, allocations: 470.1 kB / 0.7692 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.402, allocations: 4 kB / 0.7692 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.4024, allocations: 147.4 kB / 0.7693 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.4025, allocations: 51.73 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.4027, allocations: 63.8 kB / 0.7694 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.4029, allocations: 99.5 kB / 0.7695 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.4029, allocations: 4 kB / 0.7695 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.403, allocations: 35.78 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.4031, allocations: 51.81 kB / 0.7696 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.4031, allocations: 0 / 0.7696 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.4033, allocations: 91.78 kB / 0.7697 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.4034, allocations: 59.8 kB / 0.7697 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.4035, allocations: 63.56 kB / 0.7698 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.4037, allocations: 193.2 kB / 0.77 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4038, allocations: 0 / 0.77 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4038, allocations: 0 / 0.77 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4038, allocations: 0 / 0.77 GB, free: 0.9961 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.000707/0.4045, allocations: 490.1 kB / 0.7704 GB, free: 480 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4045, allocations: 11.97 kB / 0.7705 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.4046, allocations: 20.84 kB / 0.7705 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.4048, allocations: 219.9 kB / 0.7707 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4048, allocations: 384 / 0.7707 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4048, allocations: 8.375 kB / 0.7707 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.405, allocations: 50.23 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.405, allocations: 3.938 kB / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.405, allocations: 0 / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.405, allocations: 7.984 kB / 0.7708 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.4052, allocations: 43.89 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.4058, allocations: 312.9 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.4059, allocations: 46.48 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.406, allocations: 24.91 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.4061, allocations: 7.984 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4061, allocations: 38.56 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4061, allocations: 0 / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004048/0.4065, allocations: 109.5 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4065, allocations: 51.41 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.4068, allocations: 258.7 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4068, allocations: 25.7 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4069, allocations: 132.2 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.407, allocations: 7.953 kB / 0.7718 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.407, allocations: 17.7 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4072, allocations: 330.8 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.4073, allocations: 19.97 kB / 0.7721 GB, free: 14.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.4073, allocations: 19.98 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.4075, allocations: 52.81 kB / 0.7722 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4075, allocations: 3.938 kB / 0.7722 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002341/0.4078, allocations: 97.52 kB / 0.7723 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4078, allocations: 4 kB / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4078, allocations: 0 / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4078, allocations: 4 kB / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.4079, allocations: 4 kB / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4079, allocations: 11.95 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.408, allocations: 4 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.408, allocations: 0 / 0.7723 GB, free: 14.39 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.0001425/0.4081, allocations: 148.8 kB / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4081, allocations: 19.86 kB / 0.7725 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4084, allocations: 94.45 kB / 0.7726 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4084, allocations: 4.031 kB / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4084, allocations: 0 / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4084, allocations: 0 / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.4087, allocations: 217.5 kB / 0.7728 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4087, allocations: 3.984 kB / 0.7728 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.4088, allocations: 4 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4088, allocations: 0 / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4088, allocations: 0 / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4088, allocations: 4 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.4088, allocations: 0 / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.4091, allocations: 199.2 kB / 0.773 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.4091, allocations: 89.02 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4092, allocations: 0 / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.4092, allocations: 7.984 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4093, allocations: 0 / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4093, allocations: 8 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002012/0.4095, allocations: 190 kB / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4095, allocations: 0 / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002798/0.4098, allocations: 35.94 kB / 0.7733 GB, free: 13.29 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.0001887/0.41, allocations: 119.2 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.4102, allocations: 43.95 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4102, allocations: 0 / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.4103, allocations: 27.98 kB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.4108, allocations: 55.38 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.4114, allocations: 322.2 kB / 0.7738 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4118, allocations: 0.7314 MB / 0.7745 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.4119, allocations: 11.73 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.4119, allocations: 11.44 kB / 0.7746 GB, free: 11.92 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.4119, allocations: 0 / 0.7746 GB, free: 11.92 MB / 0.545 GB Notification: Performance of Templates: time 0.005219/0.4171, allocations: 1.788 MB / 0.7763 GB, free: 10.18 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)