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.001366/0.001366, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.001361/0.001361, allocations: 185.8 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.283/1.283, 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.001952/0.001952, allocations: 282.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.9174/0.9174, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3773, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00257/0.3799, allocations: 1.704 MB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006016/0.3805, allocations: 474.1 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.3806, allocations: 4 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.3809, allocations: 147.4 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.381, allocations: 51.73 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3812, allocations: 59.8 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3814, allocations: 99.5 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.3814, allocations: 7.656 kB / 0.7695 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.3815, allocations: 43.78 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.3816, allocations: 43.83 kB / 0.7696 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3816, allocations: 4 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3818, allocations: 87.83 kB / 0.7697 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.3818, allocations: 55.81 kB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.3819, allocations: 67.55 kB / 0.7698 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3821, allocations: 178 kB / 0.77 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3821, allocations: 8 kB / 0.77 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3821, allocations: 3.938 kB / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3822, allocations: 0 / 0.77 GB, free: 0.9375 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.0004992/0.3827, allocations: 474.2 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.3827, allocations: 12.03 kB / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3827, allocations: 24.59 kB / 0.7705 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3829, allocations: 215.7 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3829, allocations: 4.375 kB / 0.7707 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.3829, allocations: 4.375 kB / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3831, allocations: 54.23 kB / 0.7707 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3831, allocations: 3.938 kB / 0.7707 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.3831, allocations: 0 / 0.7707 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3831, allocations: 0 / 0.7707 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3833, allocations: 47.88 kB / 0.7708 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.3837, allocations: 316.8 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3839, allocations: 46.48 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.384, allocations: 28.91 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.384, allocations: 7.984 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.384, allocations: 38.56 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.384, allocations: 0 / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.3844, allocations: 109.4 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3844, allocations: 55.41 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3846, allocations: 250.7 kB / 0.7716 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3847, allocations: 33.69 kB / 0.7716 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.3847, allocations: 132.2 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3848, allocations: 3.906 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3848, allocations: 13.72 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3849, allocations: 330.8 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.385, allocations: 19.98 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.3851, allocations: 27.97 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3852, allocations: 44.89 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3853, allocations: 3.938 kB / 0.7722 GB, free: 14.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/0.3855, allocations: 93.31 kB / 0.7723 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3855, allocations: 6.344 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3855, allocations: 0 / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3855, allocations: 4 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.3856, allocations: 16.02 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3856, allocations: 0 / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.3857, allocations: 11.98 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3857, allocations: 0 / 0.7723 GB, free: 14.34 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.865e-05/0.3858, allocations: 140.2 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3858, allocations: 19.81 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.3861, allocations: 102.4 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3861, allocations: 0 / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3861, allocations: 0 / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3861, allocations: 0 / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3863, allocations: 209.6 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3863, allocations: 0 / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.3864, allocations: 11.98 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3864, allocations: 3.938 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3864, allocations: 0 / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3864, allocations: 0 / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3864, allocations: 0 / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.3867, allocations: 191.2 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3867, allocations: 92.86 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3867, allocations: 7.984 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.3868, allocations: 7.938 kB / 0.773 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.3869, allocations: 0 / 0.773 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3869, allocations: 8.016 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001486/0.387, allocations: 190 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002485/0.3873, allocations: 32 kB / 0.7733 GB, free: 13.25 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.0001657/0.3875, allocations: 123.2 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3877, allocations: 35.97 kB / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3877, allocations: 4.062 kB / 0.7734 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.3878, allocations: 27.97 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3882, allocations: 45.34 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.3888, allocations: 368 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3891, allocations: 0.7275 MB / 0.7745 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.3891, allocations: 11.44 kB / 0.7746 GB, free: 11.85 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3891, allocations: 0 / 0.7746 GB, free: 11.85 MB / 0.545 GB Notification: Performance of Templates: time 0.003211/0.3923, allocations: 1.832 MB / 0.7763 GB, free: 10.04 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)