Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001242/0.001242, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.231/1.231, allocations: 222.9 MB / 241 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.002016/0.002016, allocations: 291.9 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.8791/0.8791, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3801, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002669/0.3828, allocations: 1.708 MB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000612/0.3834, allocations: 478.1 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.3835, allocations: 3.938 kB / 0.7691 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.3838, allocations: 143.5 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.3839, allocations: 55.67 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.3841, allocations: 63.81 kB / 0.7694 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3843, allocations: 103.5 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.3843, allocations: 7.656 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.3844, allocations: 35.78 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.3845, allocations: 47.83 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.3845, allocations: 0 / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3847, allocations: 91.83 kB / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.3847, allocations: 55.81 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.3848, allocations: 67.55 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.385, allocations: 185.9 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.385, allocations: 0 / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3851, allocations: 0 / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3851, allocations: 0 / 0.77 GB, free: 0.9023 MB / 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.0005033/0.3856, allocations: 482.2 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.3856, allocations: 8.031 kB / 0.7704 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.3857, allocations: 20.66 kB / 0.7705 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3858, allocations: 219.7 kB / 0.7707 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3858, allocations: 384 / 0.7707 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.3858, allocations: 8.375 kB / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.386, allocations: 50.23 kB / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.386, allocations: 3.938 kB / 0.7707 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.386, allocations: 4 kB / 0.7707 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.386, allocations: 3.938 kB / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3862, allocations: 40.02 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3866, allocations: 316.8 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3867, allocations: 42.5 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.3868, allocations: 28.89 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.3869, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3869, allocations: 42.5 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3869, allocations: 4 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.3873, allocations: 101.5 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.3873, allocations: 51.41 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3875, allocations: 258.7 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3876, allocations: 25.7 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3876, allocations: 140.2 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.3877, allocations: 3.906 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3877, allocations: 17.72 kB / 0.7718 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3878, allocations: 330.8 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.3879, allocations: 15.98 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.388, allocations: 19.98 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3881, allocations: 56.75 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3881, allocations: 3.938 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.3883, allocations: 93.38 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3884, allocations: 8 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3884, allocations: 0 / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3884, allocations: 0 / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.3885, allocations: 11.98 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3885, allocations: 4.031 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.3885, allocations: 7.984 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3885, allocations: 4 kB / 0.7723 GB, free: 14.3 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 8.555e-05/0.3886, allocations: 136.2 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.3887, allocations: 15.81 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3889, allocations: 102.4 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3889, allocations: 4.031 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3889, allocations: 4 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3889, allocations: 0 / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3891, allocations: 205.6 kB / 0.7727 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3891, allocations: 0 / 0.7727 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.3892, allocations: 11.97 kB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3892, allocations: 4 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3892, allocations: 3.938 kB / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3892, allocations: 0 / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3892, allocations: 0 / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3895, allocations: 195.1 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.3895, allocations: 92.86 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3895, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.3896, allocations: 11.98 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3897, allocations: 4 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3897, allocations: 4.031 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001475/0.3898, allocations: 189.9 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3898, allocations: 0 / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002459/0.3901, allocations: 32 kB / 0.7733 GB, free: 13.21 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 (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 Backend phase and start with SimCode phase: time 0.0001595/0.3902, allocations: 115.2 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3904, allocations: 43.95 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3905, allocations: 4.062 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.3905, allocations: 31.91 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.391, allocations: 44.41 kB / 0.7735 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.3915, allocations: 370.4 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3918, allocations: 0.7314 MB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3918, allocations: 11.44 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3918, allocations: 0 / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of Templates: time 0.003097/0.3949, allocations: 1.842 MB / 0.7764 GB, free: 9.98 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)