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/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.000968/0.000968, allocations: 92.22 kB / 19.65 MB, free: 276 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.003769/0.003769, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.986/0.986, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.001805/0.001805, allocations: 241.9 kB / 260.2 MB, free: 12.82 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 0.7264/0.7264, allocations: 138.4 MB / 455.2 MB, free: 1.582 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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.531e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.00365/0.003686, allocations: 1.771 MB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.005407, allocations: 1.001 MB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.005487, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.00602, allocations: 139.3 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.006133, allocations: 59.55 kB / 0.558 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.006633, allocations: 107.7 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.006819, allocations: 107.4 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.006863, allocations: 7.938 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.006965, allocations: 47.88 kB / 0.5583 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.007073, allocations: 47.81 kB / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.007094, allocations: 4 kB / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.007396, allocations: 123.8 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.007505, allocations: 63.81 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.007565, allocations: 35.86 kB / 0.5585 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.00799, allocations: 211.2 kB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.007994, allocations: 0 / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.007996, allocations: 3.938 kB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.008002, allocations: 4 kB / 0.5587 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.0006732/0.008675, allocations: 0.5226 MB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.008721, allocations: 8.75 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.008789, allocations: 20.84 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.008944, allocations: 171.7 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.008959, allocations: 384 / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.008974, allocations: 4.375 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.009149, allocations: 58.88 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.00916, allocations: 192 / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.009174, allocations: 8.125 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.009184, allocations: 4 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.009226, allocations: 4 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.009722, allocations: 323.7 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.009792, allocations: 31.06 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.009823, allocations: 19.69 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.00988, allocations: 11.98 kB / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.009908, allocations: 37.33 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.009909, allocations: 0 / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001983/0.01011, allocations: 57.56 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.01014, allocations: 55.41 kB / 0.56 GB, free: 11.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.01042, allocations: 316.3 kB / 0.5603 GB, free: 11.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01044, allocations: 25.7 kB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01055, allocations: 190.9 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.01057, allocations: 8.078 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.01061, allocations: 19.38 kB / 0.5606 GB, free: 10.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.01078, allocations: 0.5157 MB / 0.5611 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.0108, allocations: 3.938 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.01082, allocations: 4 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.01086, allocations: 15.69 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01086, allocations: 0 / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.947e-05/0.01096, allocations: 61.48 kB / 0.5611 GB, free: 10.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01098, allocations: 4 kB / 0.5611 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01098, allocations: 8.031 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.011, allocations: 4 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.0111, allocations: 4 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.0111, allocations: 3.938 kB / 0.5612 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.01115, allocations: 7.984 kB / 0.5612 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01116, allocations: 0 / 0.5612 GB, free: 10.11 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 8.912e-05/0.01125, allocations: 156.6 kB / 0.5613 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.01129, allocations: 19.84 kB / 0.5613 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.01143, allocations: 66.62 kB / 0.5614 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01143, allocations: 0 / 0.5614 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01144, allocations: 4.031 kB / 0.5614 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01144, allocations: 0 / 0.5614 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.01159, allocations: 180.6 kB / 0.5616 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01159, allocations: 0 / 0.5616 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.01163, allocations: 8 kB / 0.5616 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01163, allocations: 3.984 kB / 0.5616 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01164, allocations: 3.938 kB / 0.5616 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01164, allocations: 0 / 0.5616 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01165, allocations: 0 / 0.5616 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.01176, allocations: 207.8 kB / 0.5618 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01177, allocations: 19.89 kB / 0.5618 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01179, allocations: 7.922 kB / 0.5618 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.01183, allocations: 4 kB / 0.5618 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.01187, allocations: 7.984 kB / 0.5618 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.01187, allocations: 0 / 0.5618 GB, free: 9.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01198, allocations: 213.1 kB / 0.562 GB, free: 9.164 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01198, allocations: 0 / 0.562 GB, free: 9.164 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.0122, allocations: 55.81 kB / 0.5621 GB, free: 9.109 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 (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 Backend phase and start with SimCode phase: time 0.0001973/0.01239, allocations: 151 kB / 0.5622 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.061e-05/0.01248, allocations: 23.61 kB / 0.5623 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01248, allocations: 4 kB / 0.5623 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.01249, allocations: 11.69 kB / 0.5623 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01278, allocations: 36.41 kB / 0.5623 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.0134, allocations: 311.1 kB / 0.5626 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.01345, allocations: 83.31 kB / 0.5627 GB, free: 8.434 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.01349, allocations: 11.98 kB / 0.5627 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.01351, allocations: 8.5 kB / 0.5627 GB, free: 8.414 MB / 490.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01352, allocations: 0 / 0.5627 GB, free: 8.414 MB / 490.7 MB Notification: Performance of Templates: time 0.004025/0.01754, allocations: 2.005 MB / 0.5647 GB, free: 6.469 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9731465419754386]