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.001107/0.001107, allocations: 116.2 kB / 16.42 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.001143/0.001143, allocations: 183.9 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 294.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9138/0.9138, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 103.8 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3715, allocations: 86.97 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002918/0.3744, allocations: 1.708 MB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3759, allocations: 1.11 MB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.376, allocations: 4 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.3764, allocations: 143.5 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.3765, allocations: 59.66 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.3769, allocations: 159.4 kB / 0.7701 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.377, allocations: 111.5 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.3771, allocations: 7.656 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.3771, allocations: 47.78 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.3772, allocations: 55.75 kB / 0.7703 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3772, allocations: 4 kB / 0.7704 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.3776, allocations: 227.6 kB / 0.7706 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.3777, allocations: 59.8 kB / 0.7706 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.3777, allocations: 59.56 kB / 0.7707 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.3781, allocations: 309.7 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3781, allocations: 0 / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3781, allocations: 0 / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3781, allocations: 0 / 0.771 GB, free: 15.83 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.0005449/0.3787, allocations: 0.4982 MB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3787, allocations: 8.031 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3788, allocations: 16.75 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3789, allocations: 215.7 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3789, allocations: 384 / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.379, allocations: 12.31 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3792, allocations: 85.77 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.3792, allocations: 4 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3792, allocations: 4 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3792, allocations: 0 / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3794, allocations: 95.92 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.3799, allocations: 380.7 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3801, allocations: 106.5 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3802, allocations: 56.89 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3803, allocations: 23.98 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3803, allocations: 30.56 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3803, allocations: 0 / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004642/0.3808, allocations: 197.4 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.3808, allocations: 51.41 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3811, allocations: 258.7 kB / 0.7729 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3811, allocations: 29.64 kB / 0.773 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.3812, allocations: 136.1 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3812, allocations: 7.906 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.3812, allocations: 13.72 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3813, allocations: 330.8 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3815, allocations: 52 kB / 0.7735 GB, free: 13.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3816, allocations: 43.97 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3818, allocations: 104.7 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3818, allocations: 7.938 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002659/0.3821, allocations: 145.5 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3821, allocations: 6.812 kB / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3821, allocations: 0 / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3821, allocations: 0 / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.3822, allocations: 15.92 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3822, allocations: 0 / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.3823, allocations: 4 kB / 0.7738 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3823, allocations: 0 / 0.7738 GB, free: 12.72 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.0001048/0.3824, allocations: 148.2 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.3825, allocations: 23.72 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.3828, allocations: 162.5 kB / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3828, allocations: 0 / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3828, allocations: 0 / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3829, allocations: 88.92 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3829, allocations: 4 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.383, allocations: 11.98 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.383, allocations: 7.938 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003174/0.3834, allocations: 220.7 kB / 0.7744 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003288/0.3837, allocations: 322.5 kB / 0.7747 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001234/0.3838, allocations: 52.09 kB / 0.7748 GB, free: 11.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001593/0.384, allocations: 193.9 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of Backend: time 1.533e-06/0.384, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005945/0.3846, allocations: 206.1 kB / 0.7752 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 0.000816/0.3854, allocations: 0.8084 MB / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of Templates: time 0.005179/0.3906, allocations: 2.37 MB / 0.7783 GB, free: 8.055 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)