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.001214/0.001214, allocations: 109 kB / 16.41 MB, free: 6.496 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.001256/0.001256, allocations: 191 kB / 17.34 MB, free: 5.766 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.249/1.249, allocations: 222.9 MB / 241 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.002097/0.002097, allocations: 293.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8819/0.8819, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 99.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3672, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002761/0.37, allocations: 1.712 MB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3715, allocations: 1.11 MB / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.3716, allocations: 0 / 0.7698 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.372, allocations: 151.4 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.3721, allocations: 55.73 kB / 0.77 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.3725, allocations: 155.4 kB / 0.7701 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3727, allocations: 111.5 kB / 0.7702 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3727, allocations: 11.66 kB / 0.7702 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.3728, allocations: 43.78 kB / 0.7703 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.3729, allocations: 51.75 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3729, allocations: 4 kB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.3732, allocations: 235.5 kB / 0.7706 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3734, allocations: 59.8 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.3734, allocations: 59.56 kB / 0.7707 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3738, allocations: 305.7 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3738, allocations: 0 / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3739, allocations: 0 / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3739, allocations: 4 kB / 0.771 GB, free: 15.88 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.0005752/0.3744, allocations: 0.4943 MB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3745, allocations: 8.031 kB / 0.7715 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3745, allocations: 16.75 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3747, allocations: 215.7 kB / 0.7717 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3747, allocations: 384 / 0.7717 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3747, allocations: 8.359 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3749, allocations: 89.77 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3749, allocations: 0 / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.375, allocations: 7.938 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.375, allocations: 4 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.3752, allocations: 91.94 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.3757, allocations: 384.7 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3758, allocations: 102.5 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.376, allocations: 56.88 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.376, allocations: 27.98 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.376, allocations: 34.5 kB / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.3761, allocations: 0 / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004154/0.3765, allocations: 193.3 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.3765, allocations: 55.39 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3767, allocations: 258.7 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3768, allocations: 25.7 kB / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.3769, allocations: 136.1 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3769, allocations: 11.89 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3769, allocations: 17.84 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.377, allocations: 334.8 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3771, allocations: 47.97 kB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.3772, allocations: 43.97 kB / 0.7735 GB, free: 13.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.3774, allocations: 108.7 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3775, allocations: 4.062 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002468/0.3777, allocations: 137.5 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3777, allocations: 10.66 kB / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3777, allocations: 0 / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3778, allocations: 0 / 0.7738 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.3778, allocations: 11.98 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3778, allocations: 0 / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.3779, allocations: 7.984 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3779, allocations: 4.031 kB / 0.7738 GB, free: 12.76 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 9.008e-05/0.378, allocations: 140.2 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3781, allocations: 23.7 kB / 0.774 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.3784, allocations: 162.4 kB / 0.7741 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3784, allocations: 0 / 0.7741 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3784, allocations: 0 / 0.7741 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3784, allocations: 4 kB / 0.7741 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3786, allocations: 245.5 kB / 0.7743 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3787, allocations: 0 / 0.7743 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.3787, allocations: 11.98 kB / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3787, allocations: 0 / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3787, allocations: 7.938 kB / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3787, allocations: 0 / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3788, allocations: 0 / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.3791, allocations: 259.1 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.3791, allocations: 88.92 kB / 0.7747 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3791, allocations: 96 / 0.7747 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3792, allocations: 7.984 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.3793, allocations: 3.984 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3793, allocations: 8 kB / 0.7747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001583/0.3794, allocations: 189.9 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3795, allocations: 0 / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003056/0.3798, allocations: 79.92 kB / 0.775 GB, free: 11.46 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.0002604/0.38, allocations: 171.1 kB / 0.7751 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3803, allocations: 95.94 kB / 0.7752 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3803, allocations: 7.875 kB / 0.7752 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3804, allocations: 55.95 kB / 0.7753 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3809, allocations: 48.52 kB / 0.7753 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.3814, allocations: 384.1 kB / 0.7757 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3817, allocations: 0.743 MB / 0.7764 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.3818, allocations: 15.42 kB / 0.7764 GB, free: 9.883 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3818, allocations: 4 kB / 0.7764 GB, free: 9.879 MB / 0.545 GB Notification: Performance of Templates: time 0.003678/0.3855, allocations: 2.181 MB / 0.7786 GB, free: 7.719 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)