Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.0009966/0.0009966, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 282 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 95.83 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3698, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002638/0.3725, allocations: 1.712 MB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3737, allocations: 0.9967 MB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.3738, allocations: 0 / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.3741, allocations: 151.4 kB / 0.7698 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.3742, allocations: 51.73 kB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3745, allocations: 111.6 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3747, allocations: 107.4 kB / 0.7701 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.3747, allocations: 11.64 kB / 0.7701 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.3748, allocations: 27.86 kB / 0.7701 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.3749, allocations: 59.7 kB / 0.7702 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3749, allocations: 0 / 0.7702 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.3752, allocations: 151.7 kB / 0.7703 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.3752, allocations: 51.81 kB / 0.7704 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.3753, allocations: 63.55 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.3756, allocations: 241.8 kB / 0.7707 GB, free: 212 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3756, allocations: 4 kB / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3756, allocations: 0 / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.3756, allocations: 0 / 0.7707 GB, free: 208 kB / 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.0005696/0.3762, allocations: 0.4903 MB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3763, allocations: 8.031 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3763, allocations: 20.73 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.3765, allocations: 215.7 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3765, allocations: 384 / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3765, allocations: 8.375 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3767, allocations: 65.8 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3767, allocations: 0 / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3767, allocations: 0 / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3767, allocations: 0 / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3769, allocations: 59.89 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.3774, allocations: 340.8 kB / 0.7718 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3776, allocations: 62.55 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.3777, allocations: 32.91 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.3777, allocations: 7.984 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3777, allocations: 38.56 kB / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3778, allocations: 4 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003944/0.3781, allocations: 137.3 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.3782, allocations: 51.41 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.3784, allocations: 262.7 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3784, allocations: 25.7 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.3785, allocations: 128.1 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3786, allocations: 16.02 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.3786, allocations: 13.72 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3787, allocations: 330.8 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.3788, allocations: 27.97 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.3789, allocations: 31.97 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3791, allocations: 68.81 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3791, allocations: 0 / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002368/0.3794, allocations: 109.4 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3794, allocations: 4 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3794, allocations: 3.938 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3794, allocations: 0 / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.3795, allocations: 11.98 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3795, allocations: 0 / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.3796, allocations: 12.02 kB / 0.7731 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3796, allocations: 3.938 kB / 0.7731 GB, free: 13.44 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.3797, allocations: 140.2 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.3797, allocations: 19.72 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.38, allocations: 114.4 kB / 0.7734 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.38, allocations: 3.984 kB / 0.7734 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.38, allocations: 4.031 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.3801, allocations: 96.86 kB / 0.7735 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.3801, allocations: 7.984 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3802, allocations: 8 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3803, allocations: 3.938 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002712/0.3806, allocations: 176.9 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000287/0.3809, allocations: 282.5 kB / 0.774 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.864e-05/0.381, allocations: 31.97 kB / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001669/0.3811, allocations: 193.9 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of Backend: time 2.3e-07/0.3811, allocations: 0 / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000539/0.3817, allocations: 160.2 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of SimCode: time 0.000809/0.3825, allocations: 0.8083 MB / 0.7751 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Templates: time 0.004616/0.3871, allocations: 2.013 MB / 0.7771 GB, free: 9.328 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)