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.001323/0.001323, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001566/0.001566, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.00245/0.00245, allocations: 241 kB / 259.4 MB, free: 480 kB / 238.1 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.099/1.099, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.1 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.734e-06/1.734e-06, allocations: 0 / 0.6468 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.799e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003003/0.003031, allocations: 1.706 MB / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004516, allocations: 0.9343 MB / 0.6493 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.004559, allocations: 4 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.005015, allocations: 127.3 kB / 0.6495 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.005104, allocations: 55.67 kB / 0.6495 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.005466, allocations: 115.5 kB / 0.6496 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.005634, allocations: 107.4 kB / 0.6497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.005676, allocations: 4 kB / 0.6497 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.005766, allocations: 55.81 kB / 0.6498 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.005865, allocations: 47.81 kB / 0.6498 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.005881, allocations: 0 / 0.6498 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.006149, allocations: 127.7 kB / 0.65 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.006236, allocations: 55.83 kB / 0.65 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.006293, allocations: 43.86 kB / 0.6501 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.006658, allocations: 235.2 kB / 0.6503 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00666, allocations: 0 / 0.6503 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00666, allocations: 4 kB / 0.6503 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.006669, allocations: 0 / 0.6503 GB, free: 1.445 MB / 0.5606 GB 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.0006332/0.007302, allocations: 424.9 kB / 0.6507 GB, free: 1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.007337, allocations: 9.938 kB / 0.6507 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.007384, allocations: 28.73 kB / 0.6507 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.007553, allocations: 156.9 kB / 0.6509 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.007567, allocations: 384 / 0.6509 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.007582, allocations: 4.375 kB / 0.6509 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.007785, allocations: 70.22 kB / 0.6509 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.007797, allocations: 4.188 kB / 0.6509 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.007809, allocations: 8.062 kB / 0.651 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007813, allocations: 0 / 0.651 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.008027, allocations: 59.95 kB / 0.651 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.008531, allocations: 276.5 kB / 0.6513 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.008709, allocations: 62.55 kB / 0.6513 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.008817, allocations: 40.89 kB / 0.6514 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.008868, allocations: 8 kB / 0.6514 GB, free: 220 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.008905, allocations: 38.44 kB / 0.6514 GB, free: 172 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.008906, allocations: 0 / 0.6514 GB, free: 172 kB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004369/0.009343, allocations: 133.5 kB / 0.6515 GB, free: 32 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2378/0.2471, allocations: 52.17 kB / 0.6516 GB, free: 57.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.2474, allocations: 257.5 kB / 0.6518 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2474, allocations: 27.39 kB / 0.6519 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.2475, allocations: 137.7 kB / 0.652 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.2475, allocations: 5.344 kB / 0.652 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2475, allocations: 15.17 kB / 0.652 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.2476, allocations: 334.3 kB / 0.6523 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.2477, allocations: 27.69 kB / 0.6524 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.2478, allocations: 28.5 kB / 0.6524 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.248, allocations: 68.41 kB / 0.6525 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.248, allocations: 1.625 kB / 0.6525 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002337/0.2482, allocations: 112.4 kB / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2482, allocations: 11.75 kB / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2482, allocations: 0 / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2482, allocations: 3.75 kB / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.2483, allocations: 10.61 kB / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2483, allocations: 0 / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.2484, allocations: 7.422 kB / 0.6526 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.2484, allocations: 0 / 0.6526 GB, free: 56.43 MB / 0.5606 GB 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 7.57e-05/0.2485, allocations: 137.5 kB / 0.6527 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2485, allocations: 22.67 kB / 0.6528 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.2488, allocations: 117.8 kB / 0.6529 GB, free: 56.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2488, allocations: 8.531 kB / 0.6529 GB, free: 56.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2488, allocations: 0 / 0.6529 GB, free: 56.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2488, allocations: 0 / 0.6529 GB, free: 56.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.249, allocations: 160.3 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.249, allocations: 2.078 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.249, allocations: 11.27 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.249, allocations: 3.844 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.249, allocations: 2.375 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.249, allocations: 0.875 kB / 0.653 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.249, allocations: 3.938 kB / 0.653 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.2492, allocations: 210.4 kB / 0.6532 GB, free: 56.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.2493, allocations: 11.5 kB / 0.6533 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2493, allocations: 0.9375 kB / 0.6533 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.2494, allocations: 8.891 kB / 0.6533 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.2494, allocations: 12.19 kB / 0.6533 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2494, allocations: 2.5 kB / 0.6533 GB, free: 56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001217/0.2495, allocations: 189.1 kB / 0.6535 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2496, allocations: 0.7188 kB / 0.6535 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003027/0.2499, allocations: 53.5 kB / 0.6535 GB, free: 55.93 MB / 0.5606 GB 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.0002157/0.2501, allocations: 156.4 kB / 0.6537 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.2503, allocations: 64.33 kB / 0.6537 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2503, allocations: 0 / 0.6537 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.2504, allocations: 29.27 kB / 0.6538 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2509, allocations: 44.59 kB / 0.6538 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.2513, allocations: 339.1 kB / 0.6541 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.044e-05/0.2514, allocations: 118.3 kB / 0.6542 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.2515, allocations: 7.719 kB / 0.6542 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.2515, allocations: 12.75 kB / 0.6543 GB, free: 55.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2515, allocations: 0 / 0.6543 GB, free: 55.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.0047/0.2562, allocations: 2.012 MB / 0.6562 GB, free: 55.47 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.939365103840828] Failed to read output from testmodel.py, exit status != 0: 0.264040756970644 0.27365352600000004 0.26469759800000003 Calling exit ...