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.001064/0.001064, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001333/0.001333, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.03/1.03, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.001936/0.001936, allocations: 240.5 kB / 261.3 MB, free: 12.68 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.7699/0.7699, allocations: 138.4 MB / 456.3 MB, free: 30.05 MB / 410.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 1.433e-06/1.433e-06, allocations: 0 / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.894e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.0021/0.002118, allocations: 1.764 MB / 0.5581 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003128, allocations: 1.001 MB / 0.559 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.003165, allocations: 0 / 0.559 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.003478, allocations: 131.3 kB / 0.5592 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.003535, allocations: 55.67 kB / 0.5592 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.003793, allocations: 107.5 kB / 0.5593 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003899, allocations: 107.4 kB / 0.5594 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.003935, allocations: 15.92 kB / 0.5594 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.004009, allocations: 47.83 kB / 0.5595 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.004086, allocations: 51.8 kB / 0.5595 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.004097, allocations: 8 kB / 0.5595 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.004275, allocations: 119.7 kB / 0.5596 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.004338, allocations: 59.83 kB / 0.5597 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.00437, allocations: 35.88 kB / 0.5597 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.004592, allocations: 219.2 kB / 0.5599 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004594, allocations: 0 / 0.5599 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004595, allocations: 0 / 0.5599 GB, free: 12.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004599, allocations: 0 / 0.5599 GB, free: 12.18 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.0004051/0.005004, allocations: 0.5226 MB / 0.5605 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.005035, allocations: 9.938 kB / 0.5605 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.005067, allocations: 24.8 kB / 0.5605 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.368e-05/0.00516, allocations: 163.7 kB / 0.5606 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.00517, allocations: 8.312 kB / 0.5607 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.005175, allocations: 384 / 0.5607 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/0.005263, allocations: 54.95 kB / 0.5607 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.005269, allocations: 192 / 0.5607 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-06/0.005275, allocations: 4.125 kB / 0.5607 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.005278, allocations: 0 / 0.5607 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.005298, allocations: 11.92 kB / 0.5607 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.005571, allocations: 284.3 kB / 0.561 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.005619, allocations: 35.05 kB / 0.561 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.005632, allocations: 7.688 kB / 0.561 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.005662, allocations: 12.05 kB / 0.561 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.005682, allocations: 41.33 kB / 0.5611 GB, free: 10.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005683, allocations: 0 / 0.5611 GB, free: 10.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001097/0.005793, allocations: 57.55 kB / 0.5611 GB, free: 10.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.005815, allocations: 51.41 kB / 0.5612 GB, free: 10.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.00596, allocations: 312.2 kB / 0.5615 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.005969, allocations: 25.7 kB / 0.5615 GB, free: 10.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.006103, allocations: 198.8 kB / 0.5617 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.006116, allocations: 8.078 kB / 0.5617 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.006142, allocations: 19.38 kB / 0.5617 GB, free: 10.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006254, allocations: 0.5157 MB / 0.5622 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.006264, allocations: 4 kB / 0.5622 GB, free: 9.652 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.006272, allocations: 0 / 0.5622 GB, free: 9.652 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.006295, allocations: 19.62 kB / 0.5623 GB, free: 9.629 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006296, allocations: 0 / 0.5623 GB, free: 9.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.668e-05/0.006353, allocations: 53.59 kB / 0.5623 GB, free: 9.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.006364, allocations: 7.938 kB / 0.5623 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006368, allocations: 8.094 kB / 0.5623 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.006375, allocations: 3.984 kB / 0.5623 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/0.006421, allocations: 4 kB / 0.5623 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.006423, allocations: 0 / 0.5623 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.00645, allocations: 4 kB / 0.5623 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006455, allocations: 3.984 kB / 0.5623 GB, free: 9.539 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 5.681e-05/0.006511, allocations: 152.6 kB / 0.5625 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.006539, allocations: 23.8 kB / 0.5625 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.006615, allocations: 62.59 kB / 0.5626 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006616, allocations: 7.969 kB / 0.5626 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.006619, allocations: 3.984 kB / 0.5626 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.006621, allocations: 0 / 0.5626 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.006734, allocations: 141.2 kB / 0.5627 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006735, allocations: 0 / 0.5627 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.006755, allocations: 7.984 kB / 0.5627 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006756, allocations: 0 / 0.5627 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.00676, allocations: 0 / 0.5627 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006761, allocations: 0 / 0.5627 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006762, allocations: 7.938 kB / 0.5627 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.579e-05/0.006848, allocations: 207.7 kB / 0.5629 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.006863, allocations: 19.89 kB / 0.5629 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.006875, allocations: 0 / 0.5629 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.006915, allocations: 4 kB / 0.5629 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.006939, allocations: 7.922 kB / 0.563 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.006943, allocations: 4 kB / 0.563 GB, free: 8.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.007018, allocations: 201.1 kB / 0.5631 GB, free: 8.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.007018, allocations: 0 / 0.5631 GB, free: 8.641 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.007209, allocations: 55.81 kB / 0.5632 GB, free: 8.586 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.0001585/0.007368, allocations: 154.5 kB / 0.5633 GB, free: 8.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.007425, allocations: 23.67 kB / 0.5634 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007426, allocations: 0 / 0.5634 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.007443, allocations: 15.62 kB / 0.5634 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.007851, allocations: 49.03 kB / 0.5634 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.008322, allocations: 307.2 kB / 0.5637 GB, free: 8.008 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.008369, allocations: 79.31 kB / 0.5638 GB, free: 7.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.008396, allocations: 8 kB / 0.5638 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.008475, allocations: 94.17 kB / 0.5639 GB, free: 7.809 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008475, allocations: 0 / 0.5639 GB, free: 7.809 MB / 490.7 MB Notification: Performance of Templates: time 0.003687/0.01216, allocations: 2.211 MB / 0.5661 GB, free: 5.672 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.859581931028515]