Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110.8 kB / 16.41 MB, free: 6.043 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.001289/0.001289, allocations: 192 kB / 17.34 MB, free: 5.629 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 284.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 103.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.444, allocations: 86.96 MB / 0.767 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002856/0.4468, allocations: 1.722 MB / 0.7687 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.4484, allocations: 1.11 MB / 0.7698 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.4485, allocations: 0 / 0.7698 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.4489, allocations: 155.4 kB / 0.7699 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.4489, allocations: 47.73 kB / 0.77 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.4494, allocations: 159.4 kB / 0.7701 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.4495, allocations: 107.5 kB / 0.7702 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.4496, allocations: 4 kB / 0.7702 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.4496, allocations: 47.77 kB / 0.7703 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/0.4497, allocations: 55.77 kB / 0.7703 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.4497, allocations: 4 kB / 0.7703 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.4501, allocations: 231.5 kB / 0.7706 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.4502, allocations: 55.8 kB / 0.7706 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.4503, allocations: 71.55 kB / 0.7707 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.4507, allocations: 309 kB / 0.771 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4507, allocations: 0 / 0.771 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4507, allocations: 0 / 0.771 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4507, allocations: 0 / 0.771 GB, free: 15.98 MB / 0.545 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.0006626/0.4514, allocations: 0.5057 MB / 0.7715 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.4514, allocations: 12.02 kB / 0.7715 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.4514, allocations: 20.8 kB / 0.7715 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.4516, allocations: 223.8 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4516, allocations: 384 / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.4517, allocations: 384 / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.4519, allocations: 85.78 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4519, allocations: 3.984 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4519, allocations: 3.938 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4519, allocations: 8 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.4521, allocations: 91.94 kB / 0.7719 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.4527, allocations: 380.8 kB / 0.7723 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.4529, allocations: 106.5 kB / 0.7724 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.453, allocations: 56.89 kB / 0.7724 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.4531, allocations: 19.98 kB / 0.7724 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4531, allocations: 34.5 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4531, allocations: 0 / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004782/0.4536, allocations: 197.5 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4536, allocations: 55.41 kB / 0.7727 GB, free: 14.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.4539, allocations: 262.7 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4539, allocations: 25.7 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.454, allocations: 132.1 kB / 0.7731 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.454, allocations: 7.953 kB / 0.7731 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.4541, allocations: 9.719 kB / 0.7731 GB, free: 13.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4542, allocations: 342.8 kB / 0.7735 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4544, allocations: 47.97 kB / 0.7735 GB, free: 13.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.4545, allocations: 47.97 kB / 0.7736 GB, free: 13.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4547, allocations: 104.7 kB / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.4547, allocations: 0 / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002882/0.455, allocations: 149.6 kB / 0.7738 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.455, allocations: 4 kB / 0.7738 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.455, allocations: 0 / 0.7738 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.455, allocations: 7.984 kB / 0.7738 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.4551, allocations: 4 kB / 0.7738 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.4551, allocations: 0 / 0.7738 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.4552, allocations: 7.984 kB / 0.7738 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4552, allocations: 4 kB / 0.7738 GB, free: 12.86 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.0001219/0.4553, allocations: 144.2 kB / 0.774 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.4553, allocations: 15.91 kB / 0.774 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.4557, allocations: 166.4 kB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4557, allocations: 0 / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4557, allocations: 4 kB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4557, allocations: 0 / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.456, allocations: 249.5 kB / 0.7744 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.456, allocations: 0 / 0.7744 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.4561, allocations: 15.98 kB / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4561, allocations: 0 / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4561, allocations: 0 / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.4561, allocations: 0 / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4561, allocations: 0 / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.4564, allocations: 247.3 kB / 0.7746 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.4565, allocations: 92.97 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.4565, allocations: 8 kB / 0.7747 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4566, allocations: 3.984 kB / 0.7747 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.4567, allocations: 12 kB / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4567, allocations: 0 / 0.7747 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001886/0.4569, allocations: 193.9 kB / 0.7749 GB, free: 11.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4569, allocations: 0 / 0.7749 GB, free: 11.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003173/0.4572, allocations: 71.73 kB / 0.775 GB, free: 11.56 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 (3): * Single equations (assignments): 3 * 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.0002824/0.4575, allocations: 182.9 kB / 0.7752 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.4577, allocations: 100 kB / 0.7753 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4577, allocations: 3.938 kB / 0.7753 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4579, allocations: 55.95 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4583, allocations: 44.52 kB / 0.7754 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.4589, allocations: 354.1 kB / 0.7757 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4593, allocations: 0.7379 MB / 0.7764 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.4593, allocations: 15.75 kB / 0.7764 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.4594, allocations: 15.44 kB / 0.7765 GB, free: 10 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4594, allocations: 3.938 kB / 0.7765 GB, free: 10 MB / 0.545 GB Notification: Performance of Templates: time 0.005848/0.4652, allocations: 2.362 MB / 0.7788 GB, free: 7.672 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)