Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001324/0.001324, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001409/0.001409, allocations: 156.5 kB / 23 MB, free: 4.949 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.359/1.359, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.002553/0.002553, allocations: 237.8 kB / 260 MB, free: 448 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 0.89/0.89, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [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.002874/0.002874, allocations: 95.84 kB / 0.6473 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4342, allocations: 95.34 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002522/0.4368, allocations: 1.705 MB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0005669/0.4373, allocations: 433.8 kB / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.4374, allocations: 0 / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.4377, allocations: 124.4 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.4378, allocations: 57.14 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.438, allocations: 57.86 kB / 0.7427 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.4382, allocations: 99.47 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.4382, allocations: 4 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.4383, allocations: 40.2 kB / 0.7429 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.4383, allocations: 55.97 kB / 0.7429 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.4384, allocations: 2.969 kB / 0.7429 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.4385, allocations: 73.06 kB / 0.743 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.4386, allocations: 61.45 kB / 0.7431 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.4387, allocations: 48.73 kB / 0.7431 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.4389, allocations: 182.7 kB / 0.7433 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4389, allocations: 0 / 0.7433 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4389, allocations: 1.5 kB / 0.7433 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4389, allocations: 0 / 0.7433 GB, free: 15.7 MB / 0.5919 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.0004701/0.4394, allocations: 416 kB / 0.7437 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.4394, allocations: 8.969 kB / 0.7437 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.4395, allocations: 21.61 kB / 0.7437 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.4396, allocations: 158.6 kB / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.4396, allocations: 384 / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4396, allocations: 5.75 kB / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4397, allocations: 60.33 kB / 0.7439 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4397, allocations: 5.312 kB / 0.7439 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.4398, allocations: 0 / 0.7439 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4398, allocations: 0.7969 kB / 0.7439 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.4399, allocations: 43.44 kB / 0.744 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.4403, allocations: 250.8 kB / 0.7442 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.4404, allocations: 51.14 kB / 0.7443 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.4405, allocations: 26.89 kB / 0.7443 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.4405, allocations: 4.875 kB / 0.7443 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.4405, allocations: 36.59 kB / 0.7443 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4405, allocations: 4 kB / 0.7443 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003542/0.4409, allocations: 108.5 kB / 0.7444 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.4409, allocations: 53.44 kB / 0.7445 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4411, allocations: 252.2 kB / 0.7447 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.4411, allocations: 25.7 kB / 0.7447 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.4412, allocations: 132.9 kB / 0.7449 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.4412, allocations: 14.12 kB / 0.7449 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.4412, allocations: 13.19 kB / 0.7449 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.4413, allocations: 339.5 kB / 0.7452 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.4414, allocations: 19.91 kB / 0.7452 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.4414, allocations: 17.94 kB / 0.7453 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.4416, allocations: 48.7 kB / 0.7453 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4416, allocations: 1.094 kB / 0.7453 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.4418, allocations: 92.48 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4418, allocations: 5.656 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4418, allocations: 0 / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4418, allocations: 0.6562 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.4419, allocations: 17.17 kB / 0.7454 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4419, allocations: 1 kB / 0.7454 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.442, allocations: 10.31 kB / 0.7454 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.442, allocations: 1.156 kB / 0.7454 GB, free: 13.96 MB / 0.5919 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.923e-05/0.442, allocations: 138.8 kB / 0.7456 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.4421, allocations: 20.59 kB / 0.7456 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.4423, allocations: 95.75 kB / 0.7457 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4423, allocations: 0 / 0.7457 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4423, allocations: 0.9375 kB / 0.7457 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4423, allocations: 0.9688 kB / 0.7457 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.4425, allocations: 158.8 kB / 0.7458 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4425, allocations: 0.8906 kB / 0.7458 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.4425, allocations: 17.09 kB / 0.7458 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4425, allocations: 0 / 0.7458 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4425, allocations: 4.984 kB / 0.7458 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4425, allocations: 3.938 kB / 0.7458 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4425, allocations: 2 kB / 0.7458 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.4427, allocations: 185.5 kB / 0.746 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.4428, allocations: 28.52 kB / 0.7461 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4428, allocations: 2.125 kB / 0.7461 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/0.4429, allocations: 10.23 kB / 0.7461 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.4429, allocations: 7.062 kB / 0.7461 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.4429, allocations: 0 / 0.7461 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001319/0.443, allocations: 190.2 kB / 0.7463 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.443, allocations: 0 / 0.7463 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002545/0.4433, allocations: 33.56 kB / 0.7463 GB, free: 13.32 MB / 0.5919 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.0001418/0.4434, allocations: 121.1 kB / 0.7464 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4437, allocations: 50.55 kB / 0.7464 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4437, allocations: 0 / 0.7464 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.4437, allocations: 23.33 kB / 0.7465 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.4442, allocations: 54.06 kB / 0.7465 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.4446, allocations: 328.2 kB / 0.7468 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4447, allocations: 119.8 kB / 0.747 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.4448, allocations: 4.734 kB / 0.747 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.4448, allocations: 13.91 kB / 0.747 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.4448, allocations: 5.312 kB / 0.747 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.004965/0.4498, allocations: 1.84 MB / 0.7488 GB, free: 12.69 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.62649205699563] Failed to read output from testmodel.py, exit status != 0: 0.45740057807415724 0.46762616100000004 0.026406518 Calling exit ...