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.001108/0.001108, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001171/0.001171, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 295.7 kB / 291.4 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9078/0.9078, allocations: 169.2 MB / 0.4989 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 99.92 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1452, allocations: 86.97 MB / 0.6816 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002617/0.1478, allocations: 1.704 MB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1492, allocations: 1.114 MB / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.1492, allocations: 0 / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.1496, allocations: 151.3 kB / 0.6845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.1497, allocations: 59.73 kB / 0.6845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.15, allocations: 155.5 kB / 0.6847 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1502, allocations: 111.4 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.1502, allocations: 7.938 kB / 0.6848 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.1503, allocations: 39.84 kB / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.1504, allocations: 55.75 kB / 0.6849 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1504, allocations: 4 kB / 0.6849 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.1507, allocations: 235.5 kB / 0.6851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.1508, allocations: 59.8 kB / 0.6852 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.1509, allocations: 63.56 kB / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1512, allocations: 303.1 kB / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1512, allocations: 0 / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1512, allocations: 0 / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1513, allocations: 3.938 kB / 0.6855 GB, free: 3.332 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.0005315/0.1518, allocations: 0.4943 MB / 0.686 GB, free: 2.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1518, allocations: 8.031 kB / 0.686 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.1519, allocations: 20.66 kB / 0.6861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.152, allocations: 219.7 kB / 0.6863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.152, allocations: 4.375 kB / 0.6863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.152, allocations: 4.375 kB / 0.6863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1522, allocations: 81.78 kB / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1523, allocations: 0 / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1523, allocations: 0 / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1523, allocations: 4 kB / 0.6864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1525, allocations: 103.9 kB / 0.6864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1529, allocations: 380.8 kB / 0.6868 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1531, allocations: 94.53 kB / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1532, allocations: 52.89 kB / 0.687 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.1533, allocations: 23.98 kB / 0.687 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1533, allocations: 38.56 kB / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.1533, allocations: 0 / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003942/0.1537, allocations: 193.3 kB / 0.6872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1538, allocations: 51.41 kB / 0.6872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.154, allocations: 258.7 kB / 0.6875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.154, allocations: 29.83 kB / 0.6875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.1541, allocations: 136 kB / 0.6877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.1541, allocations: 3.984 kB / 0.6877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1541, allocations: 17.72 kB / 0.6877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.1542, allocations: 330.8 kB / 0.688 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.1543, allocations: 47.95 kB / 0.688 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.1544, allocations: 51.91 kB / 0.6881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1546, allocations: 100.9 kB / 0.6882 GB, free: 432 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1546, allocations: 3.938 kB / 0.6882 GB, free: 428 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000231/0.1549, allocations: 149.3 kB / 0.6883 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1549, allocations: 10.03 kB / 0.6883 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.1549, allocations: 3.938 kB / 0.6883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1549, allocations: 4.031 kB / 0.6883 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.155, allocations: 11.98 kB / 0.6884 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.155, allocations: 0 / 0.6884 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.1551, allocations: 4 kB / 0.6884 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1551, allocations: 0 / 0.6884 GB, free: 240 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.1552, allocations: 141.8 kB / 0.6885 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.1552, allocations: 19.72 kB / 0.6885 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2584/0.4136, allocations: 168.8 kB / 0.6887 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4137, allocations: 0.625 kB / 0.6887 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4137, allocations: 1.562 kB / 0.6887 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4137, allocations: 0 / 0.6887 GB, free: 18.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.4139, allocations: 240.9 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.414, allocations: 0.5312 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.414, allocations: 12.11 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.414, allocations: 0.5938 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4141, allocations: 1.156 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4141, allocations: 1.422 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4141, allocations: 0.9688 kB / 0.6889 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.4143, allocations: 254 kB / 0.6892 GB, free: 17.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.4144, allocations: 96.03 kB / 0.6893 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.4144, allocations: 4.906 kB / 0.6893 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.4145, allocations: 6.078 kB / 0.6893 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4146, allocations: 2.953 kB / 0.6893 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4146, allocations: 2.969 kB / 0.6893 GB, free: 17.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.4147, allocations: 192.1 kB / 0.6895 GB, free: 17.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4147, allocations: 0 / 0.6895 GB, free: 17.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.4151, allocations: 72.27 kB / 0.6895 GB, free: 17.77 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 (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.0002412/0.4154, allocations: 170.8 kB / 0.6897 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.4156, allocations: 102.4 kB / 0.6898 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4156, allocations: 0 / 0.6898 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.4157, allocations: 53.86 kB / 0.6898 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.4161, allocations: 51.86 kB / 0.6899 GB, free: 17.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.4166, allocations: 360.4 kB / 0.6902 GB, free: 17.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.4168, allocations: 0.7347 MB / 0.6909 GB, free: 16.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.4169, allocations: 8.906 kB / 0.691 GB, free: 16.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.4169, allocations: 16.2 kB / 0.691 GB, free: 16.81 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4169, allocations: 0 / 0.691 GB, free: 16.81 MB / 494.1 MB Notification: Performance of Templates: time 0.005409/0.4223, allocations: 2.348 MB / 0.6933 GB, free: 16.73 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)