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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 178.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 441.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 96.27 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 276.5 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.141e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4697, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.6032, allocations: 111.5 MB / 0.8731 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.6035, allocations: 91.81 kB / 0.8732 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.6174, allocations: 5.58 MB / 0.8787 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6174, allocations: 3.938 kB / 0.8787 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.6174, allocations: 4 kB / 0.8787 GB, free: 7.309 MB / 0.5417 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.0004473/0.6179, allocations: 442.3 kB / 0.8791 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6179, allocations: 8.031 kB / 0.8791 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.618, allocations: 19.72 kB / 0.8791 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.6182, allocations: 214.6 kB / 0.8793 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.6182, allocations: 0 / 0.8793 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.6182, allocations: 0 / 0.8793 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.6184, allocations: 61.67 kB / 0.8794 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.6184, allocations: 3.938 kB / 0.8794 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6184, allocations: 0 / 0.8794 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6184, allocations: 0 / 0.8794 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.6185, allocations: 47.95 kB / 0.8794 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.6191, allocations: 336.8 kB / 0.8798 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.6192, allocations: 62.53 kB / 0.8798 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.6193, allocations: 32.91 kB / 0.8799 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.6193, allocations: 8 kB / 0.8799 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.6193, allocations: 34.5 kB / 0.8799 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.6193, allocations: 0 / 0.8799 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.6196, allocations: 97.38 kB / 0.88 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.6196, allocations: 51.41 kB / 0.88 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.6199, allocations: 235.1 kB / 0.8803 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.6199, allocations: 25.7 kB / 0.8803 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.62, allocations: 140.1 kB / 0.8804 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.62, allocations: 3.906 kB / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.6201, allocations: 0 / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6202, allocations: 330.8 kB / 0.8807 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/0.6203, allocations: 23.97 kB / 0.8808 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.6203, allocations: 23.98 kB / 0.8808 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.6204, allocations: 27.98 kB / 0.8808 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6204, allocations: 0 / 0.8808 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001413/0.6205, allocations: 89.48 kB / 0.8809 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.6206, allocations: 4 kB / 0.8809 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6206, allocations: 0 / 0.8809 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6206, allocations: 0 / 0.8809 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6207, allocations: 15.98 kB / 0.8809 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6208, allocations: 0 / 0.8809 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.6208, allocations: 12.02 kB / 0.8809 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.6209, allocations: 7.953 kB / 0.8809 GB, free: 4.789 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.621, allocations: 101 kB / 0.881 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.621, allocations: 19.72 kB / 0.8811 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.6212, allocations: 114.5 kB / 0.8812 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6213, allocations: 3.938 kB / 0.8812 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6213, allocations: 0 / 0.8812 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6213, allocations: 8.031 kB / 0.8812 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.6215, allocations: 221.5 kB / 0.8814 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6216, allocations: 0 / 0.8814 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.6216, allocations: 11.98 kB / 0.8814 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6216, allocations: 0 / 0.8814 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.6217, allocations: 4 kB / 0.8814 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6217, allocations: 4 kB / 0.8814 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6217, allocations: 0 / 0.8814 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.6219, allocations: 199.1 kB / 0.8816 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.622, allocations: 88.92 kB / 0.8817 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.622, allocations: 0 / 0.8817 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.6221, allocations: 11.98 kB / 0.8817 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.6221, allocations: 0 / 0.8817 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.6222, allocations: 11.94 kB / 0.8817 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001878/0.6224, allocations: 187.1 kB / 0.8819 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6224, allocations: 4.031 kB / 0.8819 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000386/0.6228, allocations: 55.94 kB / 0.8819 GB, free: 3.672 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/0.6231, allocations: 179.1 kB / 0.8821 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.6232, allocations: 43.98 kB / 0.8822 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6233, allocations: 0 / 0.8822 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.6233, allocations: 23.94 kB / 0.8822 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.6237, allocations: 48.41 kB / 0.8822 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.6241, allocations: 222.5 kB / 0.8824 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.6244, allocations: 0.7394 MB / 0.8832 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.6245, allocations: 8.172 kB / 0.8832 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.6245, allocations: 7.438 kB / 0.8832 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of SimCode: time 2.013e-06/0.6245, allocations: 4 kB / 0.8832 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of Templates: time 0.005152/0.6297, allocations: 2.307 MB / 0.8854 GB, free: 80 kB / 0.5417 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)