Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8749/0.8749, allocations: 143.4 MB / 159.2 MB, free: 4.902 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.001624/0.001624, allocations: 188.5 kB / 191.9 MB, free: 5.715 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.493/1.493, allocations: 222.9 MB / 447.3 MB, free: 5.852 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.001057/0.001057, allocations: 107.1 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001921/0.001921, allocations: 283 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 79.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3285, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002424/0.331, allocations: 1.771 MB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3321, allocations: 1.137 MB / 0.7708 GB, free: 24.75 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.3321, allocations: 0 / 0.7708 GB, free: 24.75 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.3325, allocations: 146.1 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.3325, allocations: 55.73 kB / 0.771 GB, free: 24.55 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3328, allocations: 123.6 kB / 0.7711 GB, free: 24.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3329, allocations: 219.3 kB / 0.7713 GB, free: 24.21 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.333, allocations: 4 kB / 0.7713 GB, free: 24.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.333, allocations: 35.78 kB / 0.7713 GB, free: 24.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.3331, allocations: 67.81 kB / 0.7714 GB, free: 24.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3331, allocations: 3.938 kB / 0.7714 GB, free: 24.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.3334, allocations: 223.6 kB / 0.7716 GB, free: 23.89 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.3335, allocations: 59.8 kB / 0.7717 GB, free: 23.83 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.3335, allocations: 71.55 kB / 0.7717 GB, free: 23.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3338, allocations: 311 kB / 0.772 GB, free: 23.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3338, allocations: 0 / 0.772 GB, free: 23.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3338, allocations: 0 / 0.772 GB, free: 23.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3338, allocations: 0 / 0.772 GB, free: 23.45 MB / 458.7 MB 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.0004468/0.3343, allocations: 0.4943 MB / 0.7725 GB, free: 22.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.3343, allocations: 8.031 kB / 0.7725 GB, free: 22.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3344, allocations: 16.75 kB / 0.7725 GB, free: 22.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.3345, allocations: 223.6 kB / 0.7728 GB, free: 22.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3345, allocations: 384 / 0.7728 GB, free: 22.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.3345, allocations: 4.375 kB / 0.7728 GB, free: 22.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3347, allocations: 85.78 kB / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3347, allocations: 0 / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3347, allocations: 0 / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3347, allocations: 0 / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.3349, allocations: 99.86 kB / 0.7729 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.3353, allocations: 380.8 kB / 0.7733 GB, free: 22.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3355, allocations: 102.5 kB / 0.7734 GB, free: 21.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.3356, allocations: 48.89 kB / 0.7734 GB, free: 21.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.3356, allocations: 23.98 kB / 0.7735 GB, free: 21.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.3357, allocations: 38.56 kB / 0.7735 GB, free: 21.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3357, allocations: 0 / 0.7735 GB, free: 21.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003814/0.336, allocations: 193.2 kB / 0.7737 GB, free: 21.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.3361, allocations: 55.41 kB / 0.7737 GB, free: 21.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3363, allocations: 258.7 kB / 0.774 GB, free: 21.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.3363, allocations: 25.7 kB / 0.774 GB, free: 21.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.3363, allocations: 144.2 kB / 0.7741 GB, free: 21.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.3363, allocations: 7.891 kB / 0.7742 GB, free: 21.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.3364, allocations: 13.72 kB / 0.7742 GB, free: 21.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.3364, allocations: 330.8 kB / 0.7745 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.3365, allocations: 55.89 kB / 0.7745 GB, free: 20.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.3366, allocations: 47.97 kB / 0.7746 GB, free: 20.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3368, allocations: 100.9 kB / 0.7747 GB, free: 20.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3368, allocations: 0 / 0.7747 GB, free: 20.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000234/0.337, allocations: 145.4 kB / 0.7748 GB, free: 20.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3371, allocations: 8 kB / 0.7748 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3371, allocations: 0 / 0.7748 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3371, allocations: 0 / 0.7748 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.3372, allocations: 7.984 kB / 0.7748 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3372, allocations: 12.02 kB / 0.7748 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.3373, allocations: 0 / 0.7748 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3373, allocations: 8 kB / 0.7749 GB, free: 20.35 MB / 458.7 MB 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 6.618e-05/0.3373, allocations: 135.9 kB / 0.775 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.3374, allocations: 19.72 kB / 0.775 GB, free: 20.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.3377, allocations: 166.5 kB / 0.7752 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3377, allocations: 7.984 kB / 0.7752 GB, free: 20.01 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3377, allocations: 7.938 kB / 0.7752 GB, free: 20 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3377, allocations: 0 / 0.7752 GB, free: 20 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3379, allocations: 241.5 kB / 0.7754 GB, free: 19.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3379, allocations: 0 / 0.7754 GB, free: 19.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.3379, allocations: 11.98 kB / 0.7754 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3379, allocations: 0 / 0.7754 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3379, allocations: 0 / 0.7754 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3379, allocations: 0 / 0.7754 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.338, allocations: 4 kB / 0.7754 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.3384, allocations: 0.8992 MB / 0.7763 GB, free: 18.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.3384, allocations: 88.92 kB / 0.7764 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3385, allocations: 3.938 kB / 0.7764 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.3386, allocations: 11.98 kB / 0.7764 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.3386, allocations: 7.938 kB / 0.7764 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3386, allocations: 7.984 kB / 0.7764 GB, free: 18.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3387, allocations: 186 kB / 0.7766 GB, free: 18.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3387, allocations: 0 / 0.7766 GB, free: 18.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000367/0.3391, allocations: 75.92 kB / 0.7767 GB, free: 18.36 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * 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.0002043/0.3393, allocations: 171.1 kB / 0.7768 GB, free: 18.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3395, allocations: 111.9 kB / 0.7769 GB, free: 18.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3396, allocations: 0 / 0.7769 GB, free: 18.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.3397, allocations: 51.97 kB / 0.777 GB, free: 18.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3401, allocations: 42.45 kB / 0.777 GB, free: 17.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.3405, allocations: 0.4909 MB / 0.7775 GB, free: 17.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3407, allocations: 0.7355 MB / 0.7782 GB, free: 16.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.107e-05/0.3407, allocations: 12 kB / 0.7782 GB, free: 16.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.3408, allocations: 11.44 kB / 0.7782 GB, free: 16.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3408, allocations: 0 / 0.7782 GB, free: 16.66 MB / 458.7 MB Notification: Performance of Templates: time 0.004201/0.345, allocations: 2.253 MB / 0.7804 GB, free: 14.44 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)