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.0007378/0.0007378, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001051/0.001051, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8647/0.8647, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.001415/0.001415, allocations: 229.2 kB / 260.2 MB, free: 13.04 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.6527/0.6527, allocations: 138.4 MB / 455.1 MB, free: 30 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.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 1.833e-06/1.833e-06, allocations: 0 / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.856e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.254/0.254, allocations: 1.703 MB / 0.6492 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2552, allocations: 1.027 MB / 0.6502 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.2552, allocations: 1.469 kB / 0.6502 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.2556, allocations: 131.5 kB / 0.6503 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.2556, allocations: 59.12 kB / 0.6504 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.256, allocations: 172.4 kB / 0.6505 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.2561, allocations: 115.6 kB / 0.6506 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.2561, allocations: 5.078 kB / 0.6506 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.2562, allocations: 48.72 kB / 0.6507 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.715e-05/0.2563, allocations: 50.27 kB / 0.6507 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2563, allocations: 3.656 kB / 0.6507 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.2566, allocations: 188.4 kB / 0.6509 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.2567, allocations: 66.48 kB / 0.651 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.2567, allocations: 38.41 kB / 0.651 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.257, allocations: 311.1 kB / 0.6513 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.257, allocations: 0 / 0.6513 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.257, allocations: 1.562 kB / 0.6513 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2571, allocations: 0 / 0.6513 GB, free: 55.8 MB / 0.5573 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.0003986/0.2575, allocations: 441 kB / 0.6517 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2575, allocations: 12.47 kB / 0.6517 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.2575, allocations: 20.7 kB / 0.6518 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.2576, allocations: 162 kB / 0.6519 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2576, allocations: 2.438 kB / 0.6519 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2576, allocations: 384 / 0.6519 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2578, allocations: 88.16 kB / 0.652 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2578, allocations: 1.969 kB / 0.652 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.2578, allocations: 4.125 kB / 0.652 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2578, allocations: 0.8438 kB / 0.652 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2579, allocations: 96.06 kB / 0.6521 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.2583, allocations: 321.2 kB / 0.6524 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2584, allocations: 100.8 kB / 0.6525 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.2585, allocations: 56.17 kB / 0.6526 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.2585, allocations: 20.08 kB / 0.6526 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.2585, allocations: 37.3 kB / 0.6526 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2585, allocations: 6.844 kB / 0.6526 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002824/0.2588, allocations: 193.5 kB / 0.6528 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.2588, allocations: 52.77 kB / 0.6528 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.259, allocations: 258.9 kB / 0.6531 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-06/0.259, allocations: 27.55 kB / 0.6531 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.259, allocations: 136.7 kB / 0.6533 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.2591, allocations: 12.67 kB / 0.6533 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.2591, allocations: 19.44 kB / 0.6533 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.2591, allocations: 332 kB / 0.6536 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.2592, allocations: 45.5 kB / 0.6536 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.2592, allocations: 49.39 kB / 0.6537 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.2594, allocations: 97.12 kB / 0.6538 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2594, allocations: 2.312 kB / 0.6538 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001539/0.2595, allocations: 152.7 kB / 0.6539 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2595, allocations: 4.656 kB / 0.6539 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2595, allocations: 1.75 kB / 0.6539 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2595, allocations: 3.938 kB / 0.6539 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.2596, allocations: 17.69 kB / 0.654 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2596, allocations: 0 / 0.654 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.2597, allocations: 6.172 kB / 0.654 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.2597, allocations: 2.281 kB / 0.654 GB, free: 54.23 MB / 0.5573 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 6.409e-05/0.2597, allocations: 135.2 kB / 0.6541 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.2597, allocations: 24.33 kB / 0.6541 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.26, allocations: 166.9 kB / 0.6543 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.26, allocations: 0 / 0.6543 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.26, allocations: 4.484 kB / 0.6543 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.26, allocations: 0 / 0.6543 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2601, allocations: 184.1 kB / 0.6545 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2601, allocations: 0 / 0.6545 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.2601, allocations: 12.14 kB / 0.6545 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2601, allocations: 0 / 0.6545 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2601, allocations: 13.89 kB / 0.6545 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2601, allocations: 0 / 0.6545 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2601, allocations: 4.641 kB / 0.6545 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.2603, allocations: 244.6 kB / 0.6547 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.2603, allocations: 13.12 kB / 0.6547 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.2603, allocations: 4.594 kB / 0.6547 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.2604, allocations: 5.797 kB / 0.6547 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.2604, allocations: 5.391 kB / 0.6547 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2604, allocations: 1.594 kB / 0.6547 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.712e-05/0.2605, allocations: 193.6 kB / 0.6549 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2605, allocations: 0 / 0.6549 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000227/0.2607, allocations: 76.56 kB / 0.655 GB, free: 53.61 MB / 0.5573 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 (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.000209/0.2609, allocations: 173.9 kB / 0.6552 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.2611, allocations: 104.9 kB / 0.6553 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2611, allocations: 1.688 kB / 0.6553 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.2612, allocations: 54.47 kB / 0.6553 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2615, allocations: 47.55 kB / 0.6554 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.2619, allocations: 403.1 kB / 0.6558 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.262, allocations: 123.8 kB / 0.6559 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.262, allocations: 15.91 kB / 0.6559 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/0.262, allocations: 0 / 0.6559 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.003317/0.2654, allocations: 2.277 MB / 0.6581 GB, free: 52.97 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3238742193207145] Failed to read output from testmodel.py, exit status != 0: 0.27045862656086683 0.277166265 0.018734049000000003 Calling exit ...