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.001489/0.001489, allocations: 109 kB / 16.41 MB, free: 6.516 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.001645/0.001645, allocations: 190.7 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.326/1.326, 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.002114/0.002114, allocations: 290.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 103.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3758, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.0027/0.3785, allocations: 1.712 MB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3798, allocations: 0.9967 MB / 0.7697 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.3799, allocations: 0 / 0.7697 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.3802, allocations: 147.4 kB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.3803, allocations: 63.72 kB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3807, allocations: 103.6 kB / 0.77 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.3808, allocations: 107.4 kB / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3808, allocations: 7.656 kB / 0.7701 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.3809, allocations: 35.91 kB / 0.7701 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.381, allocations: 51.7 kB / 0.7702 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.381, allocations: 4 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.3813, allocations: 151.6 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.3814, allocations: 55.8 kB / 0.7704 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.3814, allocations: 67.56 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.3818, allocations: 233.8 kB / 0.7707 GB, free: 220 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3818, allocations: 0 / 0.7707 GB, free: 220 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3818, allocations: 4 kB / 0.7707 GB, free: 216 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3818, allocations: 0 / 0.7707 GB, free: 216 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.0005441/0.3823, allocations: 498.1 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3824, allocations: 8.031 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.3824, allocations: 24.69 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3826, allocations: 211.7 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3826, allocations: 8.375 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3826, allocations: 384 / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3828, allocations: 65.8 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3828, allocations: 0 / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.3828, allocations: 0 / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3828, allocations: 0 / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.383, allocations: 63.94 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.3835, allocations: 340.8 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.3836, allocations: 58.55 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.3837, allocations: 36.89 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.3838, allocations: 12 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3838, allocations: 34.56 kB / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3838, allocations: 0 / 0.772 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/0.3842, allocations: 141.3 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.3842, allocations: 51.41 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.3845, allocations: 258.7 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3845, allocations: 25.7 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.3846, allocations: 140.2 kB / 0.7726 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3846, allocations: 7.906 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.3846, allocations: 13.72 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3848, allocations: 330.8 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.782e-05/0.3849, allocations: 27.98 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.385, allocations: 27.97 kB / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3851, allocations: 72.81 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3852, allocations: 0 / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002373/0.3854, allocations: 105.4 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3854, allocations: 10.33 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3854, allocations: 0 / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3854, allocations: 4 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.3855, allocations: 16.02 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3856, allocations: 3.938 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.3856, allocations: 7.984 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3856, allocations: 3.938 kB / 0.7732 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.0001013/0.3857, allocations: 141.8 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3858, allocations: 19.72 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3861, allocations: 122.5 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3861, allocations: 3.984 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3861, allocations: 0 / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.3861, allocations: 92.86 kB / 0.7735 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3862, allocations: 0 / 0.7735 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.3863, allocations: 8 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3863, allocations: 7.922 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002657/0.3866, allocations: 173 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002943/0.3869, allocations: 286.4 kB / 0.774 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.635e-05/0.387, allocations: 27.98 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3872, allocations: 189.9 kB / 0.7742 GB, free: 12.33 MB / 0.545 GB Notification: Performance of Backend: time 4e-07/0.3872, allocations: 4.062 kB / 0.7742 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005236/0.3877, allocations: 154.9 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008192/0.3885, allocations: 0.7967 MB / 0.7751 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Templates: time 0.004845/0.3934, allocations: 2.023 MB / 0.7771 GB, free: 9.34 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)