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.001621/0.001621, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00177/0.001771, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.293/1.293, allocations: 222.9 MB / 241.1 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.002039/0.002039, allocations: 283.4 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.9243/0.9243, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 99.83 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3826, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002514/0.3851, allocations: 1.712 MB / 0.7687 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3865, allocations: 1.11 MB / 0.7698 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.3866, allocations: 3.938 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.3869, allocations: 147.5 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.387, allocations: 59.67 kB / 0.77 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.3874, allocations: 155.5 kB / 0.7701 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3875, allocations: 111.5 kB / 0.7702 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.3876, allocations: 7.656 kB / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.3877, allocations: 43.78 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.3878, allocations: 51.75 kB / 0.7703 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3878, allocations: 4 kB / 0.7703 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.3882, allocations: 235.5 kB / 0.7706 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.3883, allocations: 59.8 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.3883, allocations: 63.56 kB / 0.7707 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.3887, allocations: 305.7 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3887, allocations: 3.938 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3888, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3888, allocations: 0 / 0.771 GB, free: 15.84 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.0006135/0.3894, allocations: 0.4943 MB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.3894, allocations: 8.031 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.3895, allocations: 16.75 kB / 0.7715 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3896, allocations: 215.7 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3896, allocations: 12.36 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.3897, allocations: 384 / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3899, allocations: 89.72 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3899, allocations: 0 / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3899, allocations: 0 / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3899, allocations: 0 / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.3901, allocations: 91.94 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.3906, allocations: 384.8 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3908, allocations: 110.4 kB / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3909, allocations: 56.88 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.391, allocations: 27.97 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.391, allocations: 38.56 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.391, allocations: 0 / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004331/0.3915, allocations: 189.3 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3915, allocations: 59.39 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3917, allocations: 254.7 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3918, allocations: 29.69 kB / 0.773 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.3919, allocations: 132.2 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.3919, allocations: 15.84 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.3919, allocations: 9.719 kB / 0.7731 GB, free: 13.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.392, allocations: 334.8 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3921, allocations: 47.97 kB / 0.7735 GB, free: 13.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.3923, allocations: 43.97 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.3925, allocations: 112.8 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3925, allocations: 0 / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002614/0.3928, allocations: 137.5 kB / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3928, allocations: 4 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3928, allocations: 4 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3928, allocations: 0 / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.3929, allocations: 11.92 kB / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3929, allocations: 8.031 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.393, allocations: 3.984 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.393, allocations: 4 kB / 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 9.637e-05/0.3931, allocations: 140.2 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3931, allocations: 19.72 kB / 0.774 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.3935, allocations: 166.4 kB / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3935, allocations: 4 kB / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3935, allocations: 0 / 0.7741 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3936, allocations: 92.92 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3936, allocations: 0 / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.3937, allocations: 7.984 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3937, allocations: 3.938 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003142/0.394, allocations: 224.7 kB / 0.7744 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003224/0.3944, allocations: 314.6 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001165/0.3945, allocations: 59.89 kB / 0.7748 GB, free: 11.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000159/0.3947, allocations: 193.9 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of Backend: time 2.51e-07/0.3947, allocations: 0 / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005959/0.3953, allocations: 206.2 kB / 0.7752 GB, free: 11.26 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007892/0.3961, allocations: 0.8005 MB / 0.776 GB, free: 10.41 MB / 0.545 GB Notification: Performance of Templates: time 0.005061/0.4012, allocations: 2.375 MB / 0.7783 GB, free: 8.066 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)