Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001251/0.001251, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001374/0.001374, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.337/1.337, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.002522/0.002522, allocations: 233.1 kB / 260 MB, free: 476 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.8877/0.8877, allocations: 138.5 MB / 455 MB, free: 15.1 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [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.003138/0.003138, allocations: 106.4 kB / 0.6473 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4162, allocations: 95.33 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002521/0.4187, allocations: 1.705 MB / 0.7421 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.4193, allocations: 462.4 kB / 0.7425 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.4193, allocations: 1.094 kB / 0.7425 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.4197, allocations: 131.9 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.4198, allocations: 49.17 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.42, allocations: 68.31 kB / 0.7428 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.4202, allocations: 100.3 kB / 0.7429 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.4202, allocations: 7.188 kB / 0.7429 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.4203, allocations: 41.92 kB / 0.7429 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.4204, allocations: 52.73 kB / 0.743 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.4204, allocations: 6.094 kB / 0.743 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.4206, allocations: 74.78 kB / 0.743 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.4207, allocations: 56.64 kB / 0.7431 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.4207, allocations: 49.83 kB / 0.7431 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.421, allocations: 191.7 kB / 0.7433 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.421, allocations: 0.9375 kB / 0.7433 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.421, allocations: 0 / 0.7433 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.421, allocations: 5.188 kB / 0.7433 GB, free: 15.66 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.0004884/0.4215, allocations: 411.9 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.4215, allocations: 10.47 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.4215, allocations: 22.62 kB / 0.7438 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4216, allocations: 165.1 kB / 0.7439 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.4217, allocations: 384 / 0.7439 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.4217, allocations: 2.156 kB / 0.7439 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.4218, allocations: 67.95 kB / 0.744 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4218, allocations: 7.875 kB / 0.744 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.4219, allocations: 5.953 kB / 0.744 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4219, allocations: 0 / 0.744 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.422, allocations: 61.52 kB / 0.7441 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.4224, allocations: 274.5 kB / 0.7443 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4225, allocations: 63.02 kB / 0.7444 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.4226, allocations: 38.38 kB / 0.7444 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.4227, allocations: 12.61 kB / 0.7444 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.4227, allocations: 32.55 kB / 0.7445 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4227, allocations: 0 / 0.7445 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.000372/0.4231, allocations: 139.6 kB / 0.7446 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.4231, allocations: 52.78 kB / 0.7446 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.4233, allocations: 256.8 kB / 0.7449 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.4233, allocations: 25.7 kB / 0.7449 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.4233, allocations: 136.8 kB / 0.745 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.4234, allocations: 5.438 kB / 0.745 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.4234, allocations: 16.67 kB / 0.7451 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.4234, allocations: 331.4 kB / 0.7454 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.4235, allocations: 33.03 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.4236, allocations: 28.8 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.4238, allocations: 66.72 kB / 0.7455 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4238, allocations: 5.156 kB / 0.7455 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002084/0.424, allocations: 110.4 kB / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.424, allocations: 5.406 kB / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.424, allocations: 2.078 kB / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.424, allocations: 0 / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.4241, allocations: 9.062 kB / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4241, allocations: 0.8906 kB / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.4242, allocations: 9.562 kB / 0.7456 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4242, allocations: 1.875 kB / 0.7456 GB, free: 13.89 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.952e-05/0.4242, allocations: 134.2 kB / 0.7458 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.4243, allocations: 21.27 kB / 0.7458 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.4245, allocations: 114.5 kB / 0.7459 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4245, allocations: 0 / 0.7459 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4245, allocations: 0.6562 kB / 0.7459 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.4245, allocations: 1.438 kB / 0.7459 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.4247, allocations: 167.2 kB / 0.7461 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4247, allocations: 0.6562 kB / 0.7461 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.4247, allocations: 13.39 kB / 0.7461 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4247, allocations: 0 / 0.7461 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4247, allocations: 5.031 kB / 0.7461 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4247, allocations: 3.984 kB / 0.7461 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4247, allocations: 4.969 kB / 0.7461 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.425, allocations: 208.7 kB / 0.7463 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.425, allocations: 25.17 kB / 0.7463 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.425, allocations: 1.375 kB / 0.7463 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4251, allocations: 5.516 kB / 0.7463 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.4252, allocations: 2.5 kB / 0.7463 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.4252, allocations: 1.375 kB / 0.7463 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001319/0.4253, allocations: 190.1 kB / 0.7465 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4253, allocations: 0 / 0.7465 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002608/0.4256, allocations: 40.44 kB / 0.7465 GB, free: 13.25 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.0001428/0.4257, allocations: 120.2 kB / 0.7466 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.4259, allocations: 65.05 kB / 0.7467 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4259, allocations: 1.344 kB / 0.7467 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.426, allocations: 35.08 kB / 0.7467 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4264, allocations: 48.58 kB / 0.7468 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.4269, allocations: 341.9 kB / 0.7471 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.648e-05/0.427, allocations: 122.2 kB / 0.7472 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.427, allocations: 8.797 kB / 0.7472 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.427, allocations: 10.84 kB / 0.7473 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.427, allocations: 0 / 0.7473 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.004752/0.4318, allocations: 1.872 MB / 0.7491 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.63485545408912] Failed to read output from testmodel.py, exit status != 0: 0.43939799000509083 0.44935848399999995 0.026125461000000003 Calling exit ...