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 0.83/0.83, allocations: 141.8 MB / 149.3 MB, free: 9.246 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 175.8 kB / 182.2 MB, free: 9.465 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.564/1.564, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009181/0.0009181, allocations: 99.86 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 284.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.035e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.456, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.6114, allocations: 110.8 MB / 0.8656 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.6117, allocations: 91.8 kB / 0.8657 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.6257, allocations: 5.509 MB / 0.8711 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6257, allocations: 3.938 kB / 0.8711 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6258, allocations: 4 kB / 0.8711 GB, free: 11.38 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.0005372/0.6263, allocations: 434 kB / 0.8715 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6264, allocations: 16.02 kB / 0.8715 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.6264, allocations: 19.72 kB / 0.8715 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.6266, allocations: 210.6 kB / 0.8717 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.6267, allocations: 3.938 kB / 0.8717 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.6267, allocations: 7.938 kB / 0.8717 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001356/0.6268, allocations: 39.97 kB / 0.8718 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.627, allocations: 53.67 kB / 0.8718 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.627, allocations: 0 / 0.8718 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.627, allocations: 0 / 0.8718 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.627, allocations: 0 / 0.8718 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.6276, allocations: 325.4 kB / 0.8721 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.6277, allocations: 62.48 kB / 0.8722 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.6277, allocations: 24.91 kB / 0.8722 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.6278, allocations: 8 kB / 0.8722 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6278, allocations: 34.56 kB / 0.8722 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/0.6278, allocations: 4 kB / 0.8722 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002818/0.6281, allocations: 89.38 kB / 0.8723 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6282, allocations: 55.41 kB / 0.8724 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.6284, allocations: 218.3 kB / 0.8726 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6284, allocations: 25.7 kB / 0.8726 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.6286, allocations: 132.1 kB / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.6286, allocations: 7.906 kB / 0.8728 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.6286, allocations: 0 / 0.8728 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6287, allocations: 342.7 kB / 0.8731 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.6288, allocations: 19.98 kB / 0.8731 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.6288, allocations: 23.98 kB / 0.8731 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.6289, allocations: 23.92 kB / 0.8731 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6289, allocations: 0 / 0.8731 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/0.6291, allocations: 93.47 kB / 0.8732 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6291, allocations: 8 kB / 0.8732 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6291, allocations: 0 / 0.8732 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6291, allocations: 0 / 0.8732 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.6292, allocations: 16.08 kB / 0.8733 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6293, allocations: 0 / 0.8733 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.6293, allocations: 11.91 kB / 0.8733 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.6294, allocations: 3.984 kB / 0.8733 GB, free: 8.914 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.4e-05/0.6295, allocations: 110 kB / 0.8734 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.6295, allocations: 15.81 kB / 0.8734 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.6297, allocations: 114.8 kB / 0.8735 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6298, allocations: 0 / 0.8735 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6298, allocations: 0 / 0.8735 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6298, allocations: 0 / 0.8735 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.63, allocations: 198.1 kB / 0.8737 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.63, allocations: 7.984 kB / 0.8737 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.6301, allocations: 12 kB / 0.8737 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6301, allocations: 3.938 kB / 0.8737 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.6301, allocations: 0 / 0.8737 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6301, allocations: 4.031 kB / 0.8737 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6301, allocations: 3.984 kB / 0.8737 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.6303, allocations: 183.2 kB / 0.8739 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.6304, allocations: 100.9 kB / 0.874 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.6304, allocations: 0 / 0.874 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.6305, allocations: 4 kB / 0.874 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.6306, allocations: 12.02 kB / 0.874 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.6306, allocations: 11.92 kB / 0.874 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001463/0.6308, allocations: 178 kB / 0.8742 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6308, allocations: 0 / 0.8742 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002933/0.6311, allocations: 59.86 kB / 0.8742 GB, free: 7.832 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.0002986/0.6314, allocations: 176.2 kB / 0.8744 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.6315, allocations: 35.98 kB / 0.8744 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6315, allocations: 0 / 0.8744 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.6315, allocations: 23.98 kB / 0.8745 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.6319, allocations: 47.03 kB / 0.8745 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.6323, allocations: 209.4 kB / 0.8747 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6326, allocations: 0.7508 MB / 0.8754 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.593e-05/0.6327, allocations: 4.188 kB / 0.8755 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.6327, allocations: 11.44 kB / 0.8755 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6327, allocations: 0 / 0.8755 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of Templates: time 0.004781/0.6375, allocations: 1.786 MB / 0.8772 GB, free: 4.766 MB / 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)