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.001351/0.001351, allocations: 78.34 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.001504/0.001504, allocations: 155.1 kB / 22.25 MB, free: 5.098 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.461/1.461, allocations: 177.2 MB / 202.6 MB, free: 9.277 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.002425/0.002425, allocations: 242.4 kB / 259.3 MB, free: 0.5898 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.076/1.076, allocations: 138.5 MB / 454.2 MB, free: 2.07 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: 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.003044/0.003044, allocations: 103.8 kB / 0.6466 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4502, allocations: 95.34 MB / 0.7397 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003168/0.4534, allocations: 1.717 MB / 0.7414 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4549, allocations: 0.9229 MB / 0.7423 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.455, allocations: 0 / 0.7423 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.4554, allocations: 139.4 kB / 0.7424 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.4555, allocations: 43.75 kB / 0.7424 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.4559, allocations: 119.5 kB / 0.7426 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.456, allocations: 95.56 kB / 0.7426 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.4561, allocations: 11.92 kB / 0.7427 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.4562, allocations: 51.83 kB / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.4563, allocations: 51.77 kB / 0.7428 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.4563, allocations: 4 kB / 0.7428 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.4566, allocations: 123.7 kB / 0.7429 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.4567, allocations: 51.81 kB / 0.7429 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.4567, allocations: 51.67 kB / 0.743 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.4571, allocations: 240.1 kB / 0.7432 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4571, allocations: 4 kB / 0.7432 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4571, allocations: 0 / 0.7432 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.4571, allocations: 0 / 0.7432 GB, free: 11.48 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.0006531/0.4578, allocations: 428.9 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4578, allocations: 9.344 kB / 0.7436 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.4578, allocations: 24.8 kB / 0.7437 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.458, allocations: 161.6 kB / 0.7438 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.458, allocations: 384 / 0.7438 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.458, allocations: 4.375 kB / 0.7438 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.4583, allocations: 65.78 kB / 0.7439 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4583, allocations: 3.938 kB / 0.7439 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4583, allocations: 4 kB / 0.7439 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4583, allocations: 0 / 0.7439 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4585, allocations: 63.95 kB / 0.7439 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.459, allocations: 272.5 kB / 0.7442 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4591, allocations: 66.48 kB / 0.7443 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4592, allocations: 36.89 kB / 0.7443 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.4593, allocations: 11.98 kB / 0.7443 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.4593, allocations: 34.5 kB / 0.7443 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4593, allocations: 4 kB / 0.7443 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004329/0.4598, allocations: 137.5 kB / 0.7445 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.4598, allocations: 51.41 kB / 0.7445 GB, free: 10 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4601, allocations: 257.9 kB / 0.7448 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4601, allocations: 25.7 kB / 0.7448 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4602, allocations: 140.1 kB / 0.7449 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.4602, allocations: 3.953 kB / 0.7449 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.4603, allocations: 21.83 kB / 0.745 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4604, allocations: 330.8 kB / 0.7453 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/0.4605, allocations: 31.97 kB / 0.7453 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.4606, allocations: 31.92 kB / 0.7453 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.4608, allocations: 60.81 kB / 0.7454 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4608, allocations: 3.938 kB / 0.7454 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002452/0.461, allocations: 113.6 kB / 0.7455 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4611, allocations: 8 kB / 0.7455 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4611, allocations: 0 / 0.7455 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4611, allocations: 0 / 0.7455 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.4612, allocations: 7.984 kB / 0.7455 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4612, allocations: 4 kB / 0.7455 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.4612, allocations: 8 kB / 0.7455 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4612, allocations: 3.984 kB / 0.7455 GB, free: 8.93 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.4614, allocations: 137.8 kB / 0.7457 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4614, allocations: 23.8 kB / 0.7457 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4617, allocations: 118.6 kB / 0.7458 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4617, allocations: 0 / 0.7458 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4617, allocations: 0 / 0.7458 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4617, allocations: 0 / 0.7458 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4619, allocations: 169.2 kB / 0.746 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4619, allocations: 0 / 0.746 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.462, allocations: 23.94 kB / 0.746 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.462, allocations: 0 / 0.746 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.462, allocations: 0 / 0.746 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.462, allocations: 0 / 0.746 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.462, allocations: 4 kB / 0.746 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4623, allocations: 207.2 kB / 0.7462 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.4623, allocations: 19.89 kB / 0.7462 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4623, allocations: 4 kB / 0.7462 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.4624, allocations: 8.031 kB / 0.7462 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.4625, allocations: 3.984 kB / 0.7462 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.4625, allocations: 0 / 0.7462 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001823/0.4627, allocations: 189.2 kB / 0.7464 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4627, allocations: 0 / 0.7464 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002977/0.463, allocations: 55.8 kB / 0.7465 GB, free: 7.926 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 (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.0002552/0.4632, allocations: 147 kB / 0.7466 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4635, allocations: 59.95 kB / 0.7467 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4635, allocations: 4.062 kB / 0.7467 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.4636, allocations: 35.91 kB / 0.7467 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.4641, allocations: 55.27 kB / 0.7467 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.4647, allocations: 338.7 kB / 0.7471 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4648, allocations: 122.9 kB / 0.7472 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.4648, allocations: 4 kB / 0.7472 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.4649, allocations: 12.5 kB / 0.7472 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4649, allocations: 4 kB / 0.7472 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of Templates: time 0.005602/0.4705, allocations: 1.988 MB / 0.7491 GB, free: 5.188 MB / 0.5762 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: 6.0848037004470825] Failed to read output from testmodel.py, exit status != 0: 0.4788102675229311 0.49310307499999995 0.03297526 Calling exit ...