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.001377/0.001377, allocations: 78.27 kB / 19.01 MB, free: 2.859 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.001603/0.001603, allocations: 156.1 kB / 22.25 MB, free: 5.109 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.438/1.438, allocations: 177.2 MB / 202.6 MB, free: 9.273 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.002442/0.002442, allocations: 242.3 kB / 259.3 MB, free: 0.582 MB / 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.053/1.053, allocations: 138.5 MB / 454.2 MB, free: 2.062 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003088/0.003088, allocations: 107.8 kB / 0.6466 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.379, allocations: 95.34 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.00304/0.382, allocations: 1.721 MB / 0.7414 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3837, allocations: 1.032 MB / 0.7424 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.3837, allocations: 4 kB / 0.7424 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.3841, allocations: 127.5 kB / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.3842, allocations: 59.67 kB / 0.7426 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3846, allocations: 163.5 kB / 0.7427 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3848, allocations: 111.4 kB / 0.7428 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.3848, allocations: 4 kB / 0.7428 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.3849, allocations: 51.83 kB / 0.7429 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.385, allocations: 63.67 kB / 0.7429 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3851, allocations: 4 kB / 0.7429 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3854, allocations: 187.6 kB / 0.7431 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.3855, allocations: 59.8 kB / 0.7432 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3855, allocations: 47.69 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.386, allocations: 304 kB / 0.7435 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.386, allocations: 0 / 0.7435 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.386, allocations: 0 / 0.7435 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.386, allocations: 0 / 0.7435 GB, free: 11.29 MB / 0.5762 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.0006419/0.3866, allocations: 436.8 kB / 0.7439 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3867, allocations: 13.28 kB / 0.7439 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.3867, allocations: 28.78 kB / 0.744 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3869, allocations: 157.6 kB / 0.7441 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.3869, allocations: 384 / 0.7441 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3869, allocations: 4.359 kB / 0.7441 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3871, allocations: 89.78 kB / 0.7442 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3871, allocations: 0 / 0.7442 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3871, allocations: 0 / 0.7442 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3871, allocations: 0 / 0.7442 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3874, allocations: 95.88 kB / 0.7443 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.3879, allocations: 316.5 kB / 0.7446 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3881, allocations: 106.5 kB / 0.7447 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3882, allocations: 52.89 kB / 0.7447 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.3882, allocations: 23.98 kB / 0.7448 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3883, allocations: 34.56 kB / 0.7448 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3883, allocations: 0 / 0.7448 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0005013/0.3888, allocations: 197.4 kB / 0.745 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3888, allocations: 51.41 kB / 0.745 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.3891, allocations: 262 kB / 0.7453 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3891, allocations: 25.7 kB / 0.7453 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3892, allocations: 136.1 kB / 0.7454 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3893, allocations: 7.953 kB / 0.7455 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.3893, allocations: 13.72 kB / 0.7455 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3895, allocations: 330.8 kB / 0.7458 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3896, allocations: 47.97 kB / 0.7458 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3897, allocations: 43.97 kB / 0.7459 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3899, allocations: 112.8 kB / 0.746 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.3899, allocations: 3.938 kB / 0.746 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002778/0.3902, allocations: 145.5 kB / 0.7461 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3902, allocations: 7.125 kB / 0.7461 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3902, allocations: 0 / 0.7461 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3903, allocations: 3.938 kB / 0.7461 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.3903, allocations: 16.02 kB / 0.7461 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3903, allocations: 0 / 0.7461 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.3904, allocations: 4 kB / 0.7461 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.3904, allocations: 3.984 kB / 0.7462 GB, free: 8.41 MB / 0.5762 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 0.0001199/0.3905, allocations: 137.8 kB / 0.7463 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.3906, allocations: 19.86 kB / 0.7463 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.391, allocations: 166.5 kB / 0.7465 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.391, allocations: 0 / 0.7465 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.391, allocations: 4 kB / 0.7465 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.391, allocations: 0 / 0.7465 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.3912, allocations: 197.2 kB / 0.7467 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3912, allocations: 3.984 kB / 0.7467 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.3913, allocations: 11.98 kB / 0.7467 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3913, allocations: 4 kB / 0.7467 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3913, allocations: 4 kB / 0.7467 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3913, allocations: 0 / 0.7467 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3913, allocations: 0 / 0.7467 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3917, allocations: 255.2 kB / 0.7469 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.3917, allocations: 15.89 kB / 0.7469 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3917, allocations: 4 kB / 0.7469 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.3918, allocations: 4 kB / 0.7469 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.3918, allocations: 7.984 kB / 0.747 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3919, allocations: 0 / 0.747 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001896/0.392, allocations: 193.2 kB / 0.7471 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.392, allocations: 0 / 0.7471 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003701/0.3924, allocations: 67.75 kB / 0.7472 GB, free: 7.277 MB / 0.5762 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.0002782/0.3927, allocations: 178.9 kB / 0.7474 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.393, allocations: 99.92 kB / 0.7475 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.393, allocations: 0 / 0.7475 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3931, allocations: 55.91 kB / 0.7475 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3936, allocations: 52.39 kB / 0.7476 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.3943, allocations: 358.5 kB / 0.7479 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3945, allocations: 122.9 kB / 0.748 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.321e-05/0.3946, allocations: 11.98 kB / 0.748 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.3946, allocations: 12.5 kB / 0.7481 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.3946, allocations: 0 / 0.7481 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.006556/0.4012, allocations: 2.419 MB / 0.7504 GB, free: 3.988 MB / 0.5762 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.92150161229074] Failed to read output from testmodel.py, exit status != 0: 0.40979140251874924 0.42511807 0.035971319 Calling exit ...