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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008458/0.0008458, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 271.1 kB / 291.4 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 15.48 kB / 0.598 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.001624/0.1395, allocations: 1.389 MB / 0.6858 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1408, allocations: 1.026 MB / 0.6868 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.1409, allocations: 0 / 0.6868 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1411, allocations: 95.53 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.1412, allocations: 51.73 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1415, allocations: 95.69 kB / 0.6871 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1417, allocations: 163.4 kB / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.1417, allocations: 22.31 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.1418, allocations: 39.86 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1419, allocations: 75.69 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1419, allocations: 4 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.1422, allocations: 135.8 kB / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1422, allocations: 55.86 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.1423, allocations: 54.08 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1425, allocations: 191.8 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1425, allocations: 0.75 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1425, allocations: 0 / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1425, allocations: 0.6562 kB / 0.6878 GB, free: 12.06 MB / 494.1 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.0005195/0.1431, allocations: 488.1 kB / 0.6882 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1431, allocations: 8.031 kB / 0.6883 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1432, allocations: 30.3 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1433, allocations: 202.6 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1433, allocations: 4 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1433, allocations: 4 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1435, allocations: 90.38 kB / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1435, allocations: 0 / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1436, allocations: 1.719 kB / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1436, allocations: 0 / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.1438, allocations: 113.9 kB / 0.6887 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.1443, allocations: 378.3 kB / 0.689 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1445, allocations: 106.5 kB / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1446, allocations: 60.83 kB / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.1447, allocations: 23.98 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1447, allocations: 34.56 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1447, allocations: 4 kB / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004287/0.1451, allocations: 213.4 kB / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1452, allocations: 51.41 kB / 0.6895 GB, free: 10.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1454, allocations: 262.6 kB / 0.6898 GB, free: 9.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1454, allocations: 25.7 kB / 0.6898 GB, free: 9.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.1455, allocations: 132.1 kB / 0.6899 GB, free: 9.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1455, allocations: 11.91 kB / 0.6899 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.1455, allocations: 0 / 0.6899 GB, free: 9.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1457, allocations: 326.8 kB / 0.6902 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1458, allocations: 59.92 kB / 0.6903 GB, free: 9.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.1459, allocations: 55.97 kB / 0.6903 GB, free: 9.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.146, allocations: 56.03 kB / 0.6904 GB, free: 9.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.146, allocations: 0 / 0.6904 GB, free: 9.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002556/0.1463, allocations: 149.4 kB / 0.6905 GB, free: 9.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1463, allocations: 10.19 kB / 0.6906 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1463, allocations: 3.984 kB / 0.6906 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1463, allocations: 7.984 kB / 0.6906 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.1464, allocations: 8 kB / 0.6906 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1464, allocations: 3.984 kB / 0.6906 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.1465, allocations: 8 kB / 0.6906 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1465, allocations: 0 / 0.6906 GB, free: 8.992 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.1466, allocations: 138.5 kB / 0.6907 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.1467, allocations: 19.72 kB / 0.6907 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.147, allocations: 174.4 kB / 0.6909 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.147, allocations: 3.953 kB / 0.6909 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1471, allocations: 4 kB / 0.6909 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1471, allocations: 3.984 kB / 0.6909 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1473, allocations: 241.6 kB / 0.6911 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1473, allocations: 0 / 0.6911 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.1474, allocations: 15.92 kB / 0.6912 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1474, allocations: 4 kB / 0.6912 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1474, allocations: 0 / 0.6912 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1474, allocations: 0 / 0.6912 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1474, allocations: 3.953 kB / 0.6912 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.1478, allocations: 267.2 kB / 0.6914 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1478, allocations: 92.86 kB / 0.6915 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1478, allocations: 7.984 kB / 0.6915 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.1479, allocations: 4 kB / 0.6915 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.148, allocations: 11.98 kB / 0.6915 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.148, allocations: 7.891 kB / 0.6915 GB, free: 7.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1482, allocations: 186 kB / 0.6917 GB, free: 7.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1482, allocations: 0 / 0.6917 GB, free: 7.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1485, allocations: 71.92 kB / 0.6918 GB, free: 7.66 MB / 494.1 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 (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.0002376/0.1487, allocations: 163.1 kB / 0.6919 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.149, allocations: 111.9 kB / 0.692 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.149, allocations: 0 / 0.692 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1491, allocations: 63.91 kB / 0.6921 GB, free: 7.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1495, allocations: 41.33 kB / 0.6921 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.1501, allocations: 392.6 kB / 0.6925 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1503, allocations: 0.7394 MB / 0.6932 GB, free: 6.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.1504, allocations: 4.188 kB / 0.6932 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.1504, allocations: 11.44 kB / 0.6933 GB, free: 6.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1504, allocations: 3.938 kB / 0.6933 GB, free: 6.086 MB / 494.1 MB Notification: Performance of Templates: time 0.004791/0.1552, allocations: 2.145 MB / 0.6954 GB, free: 3.977 MB / 494.1 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)