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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003356/0.003356, allocations: 238.7 kB / 259.8 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.18/1.18, allocations: 138.5 MB / 454.7 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.608e-06/4.608e-06, allocations: 4 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.514e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003149/0.003184, allocations: 1.732 MB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.005035, allocations: 1.114 MB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.005075, allocations: 4 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.005517, allocations: 135.3 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.005614, allocations: 59.56 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.006067, allocations: 167.4 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.006228, allocations: 111.4 kB / 0.5576 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.006263, allocations: 4 kB / 0.5576 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.006365, allocations: 55.81 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006474, allocations: 55.8 kB / 0.5577 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.006495, allocations: 4 kB / 0.5577 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.006857, allocations: 187.6 kB / 0.5579 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.006962, allocations: 63.83 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.007018, allocations: 27.94 kB / 0.5579 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.007721, allocations: 315 kB / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.007724, allocations: 0 / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007725, allocations: 0 / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.007729, allocations: 0 / 0.5582 GB, free: 12.82 MB / 490.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.0007516/0.008481, allocations: 0.5378 MB / 0.5588 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.008518, allocations: 12.75 kB / 0.5588 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.008582, allocations: 24.8 kB / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.008767, allocations: 167.7 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.008779, allocations: 384 / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.008787, allocations: 384 / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.008965, allocations: 46.25 kB / 0.559 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.008975, allocations: 192 / 0.559 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.008985, allocations: 4.125 kB / 0.559 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.008989, allocations: 0 / 0.559 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.009116, allocations: 31.97 kB / 0.559 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.009654, allocations: 335.7 kB / 0.5594 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.009778, allocations: 39.06 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.009857, allocations: 19.73 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.009921, allocations: 23.98 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.00996, allocations: 41.27 kB / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.009961, allocations: 0 / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000334/0.01029, allocations: 97.47 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.01035, allocations: 51.41 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.01069, allocations: 320.3 kB / 0.5599 GB, free: 10.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01071, allocations: 25.7 kB / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.01088, allocations: 194.8 kB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.01091, allocations: 11.89 kB / 0.5601 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.01095, allocations: 19.38 kB / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.01125, allocations: 0.5118 MB / 0.5607 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.01132, allocations: 12 kB / 0.5607 GB, free: 10.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.01137, allocations: 16.11 kB / 0.5607 GB, free: 10.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.01148, allocations: 31.67 kB / 0.5607 GB, free: 10.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01149, allocations: 0 / 0.5607 GB, free: 10.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.01167, allocations: 85.42 kB / 0.5608 GB, free: 9.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01169, allocations: 4 kB / 0.5608 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01169, allocations: 0 / 0.5608 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01171, allocations: 0 / 0.5608 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.0118, allocations: 11.98 kB / 0.5608 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.0118, allocations: 4.094 kB / 0.5608 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.01185, allocations: 0 / 0.5608 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01186, allocations: 4 kB / 0.5608 GB, free: 9.965 MB / 490.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 0.0001198/0.01198, allocations: 152.6 kB / 0.561 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.01203, allocations: 27.83 kB / 0.561 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.01228, allocations: 90.58 kB / 0.5611 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01229, allocations: 3.938 kB / 0.5611 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01229, allocations: 0 / 0.5611 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.01229, allocations: 0 / 0.5611 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01255, allocations: 192.6 kB / 0.5613 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.01255, allocations: 0 / 0.5613 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.0126, allocations: 11.98 kB / 0.5613 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.0126, allocations: 0 / 0.5613 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01262, allocations: 7.938 kB / 0.5613 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01262, allocations: 0 / 0.5613 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01262, allocations: 0 / 0.5613 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.01291, allocations: 227.9 kB / 0.5615 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.01294, allocations: 23.8 kB / 0.5615 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01297, allocations: 3.938 kB / 0.5615 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.01304, allocations: 4 kB / 0.5615 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01308, allocations: 11.98 kB / 0.5616 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.01309, allocations: 0 / 0.5616 GB, free: 9.152 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.01328, allocations: 213.1 kB / 0.5618 GB, free: 8.949 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01328, allocations: 0 / 0.5618 GB, free: 8.949 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000326/0.0136, allocations: 79.73 kB / 0.5618 GB, free: 8.871 MB / 490.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.0003194/0.01392, allocations: 175 kB / 0.562 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.01411, allocations: 39.66 kB / 0.562 GB, free: 8.648 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01411, allocations: 4.062 kB / 0.562 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.01419, allocations: 23.69 kB / 0.5621 GB, free: 8.617 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.01463, allocations: 47.14 kB / 0.5621 GB, free: 8.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.01523, allocations: 311 kB / 0.5624 GB, free: 8.238 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.01538, allocations: 114.9 kB / 0.5625 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.485e-05/0.01543, allocations: 11.98 kB / 0.5625 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.01546, allocations: 12.5 kB / 0.5625 GB, free: 8.078 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01546, allocations: 0 / 0.5625 GB, free: 8.078 MB / 490.7 MB Notification: Performance of Templates: time 0.006843/0.0223, allocations: 2.432 MB / 0.5649 GB, free: 5.707 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.928519029053859]