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.0009043/0.0009043, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001082/0.001082, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8686/0.8686, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001448/0.001448, allocations: 232 kB / 259.4 MB, free: 13.02 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.6506/0.6506, allocations: 138.4 MB / 454.3 MB, free: 29.96 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: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.368e-05, allocations: 8.75 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.001739/0.001753, allocations: 1.717 MB / 0.6479 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2272/0.2289, allocations: 446.2 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.229, allocations: 1.875 kB / 0.6484 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.2294, allocations: 130.5 kB / 0.6485 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.2295, allocations: 59.75 kB / 0.6486 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2298, allocations: 66.47 kB / 0.6486 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.23, allocations: 104.5 kB / 0.6487 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.2301, allocations: 7.484 kB / 0.6487 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.2301, allocations: 45.69 kB / 0.6488 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.2302, allocations: 50.61 kB / 0.6488 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2303, allocations: 3.25 kB / 0.6488 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2304, allocations: 79.69 kB / 0.6489 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.2305, allocations: 61.08 kB / 0.649 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.2305, allocations: 36.25 kB / 0.649 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.2308, allocations: 191.2 kB / 0.6492 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2308, allocations: 0 / 0.6492 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2308, allocations: 0.6875 kB / 0.6492 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2309, allocations: 0.625 kB / 0.6492 GB, free: 55.7 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.0004648/0.2313, allocations: 410.3 kB / 0.6496 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2314, allocations: 11.38 kB / 0.6496 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.2314, allocations: 33.75 kB / 0.6496 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.2314, allocations: 21.17 kB / 0.6496 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2315, allocations: 158.6 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2316, allocations: 1.094 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2316, allocations: 7.344 kB / 0.6498 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2317, allocations: 62.73 kB / 0.6498 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2317, allocations: 4.391 kB / 0.6499 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2318, allocations: 1.188 kB / 0.6499 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2318, allocations: 4.875 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2319, allocations: 59.33 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.2323, allocations: 300.4 kB / 0.6502 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2324, allocations: 66.17 kB / 0.6503 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.2324, allocations: 34.58 kB / 0.6503 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.2325, allocations: 17.58 kB / 0.6503 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2325, allocations: 34.89 kB / 0.6503 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2325, allocations: 0.6875 kB / 0.6503 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002651/0.2328, allocations: 137.8 kB / 0.6505 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.2328, allocations: 51.41 kB / 0.6505 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.233, allocations: 259.8 kB / 0.6508 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.233, allocations: 30.14 kB / 0.6508 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.233, allocations: 135.7 kB / 0.6509 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.233, allocations: 4.703 kB / 0.6509 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.2331, allocations: 21.73 kB / 0.651 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.2331, allocations: 330.3 kB / 0.6513 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.2332, allocations: 29.89 kB / 0.6513 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.507e-05/0.2332, allocations: 27.89 kB / 0.6513 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/0.2333, allocations: 64.64 kB / 0.6514 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2333, allocations: 2.281 kB / 0.6514 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.2334, allocations: 111.2 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2335, allocations: 5.75 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2335, allocations: 0.5625 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2335, allocations: 1.688 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.68e-05/0.2335, allocations: 13.75 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.2335, allocations: 0.6094 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.92e-05/0.2336, allocations: 10.97 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2336, allocations: 0 / 0.6515 GB, free: 54.09 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.303e-05/0.2337, allocations: 135.8 kB / 0.6517 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.2337, allocations: 20.66 kB / 0.6517 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.2338, allocations: 114.7 kB / 0.6518 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2338, allocations: 0.625 kB / 0.6518 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2338, allocations: 0 / 0.6518 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2338, allocations: 3.438 kB / 0.6518 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.234, allocations: 185.2 kB / 0.652 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.234, allocations: 0 / 0.652 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.234, allocations: 11.78 kB / 0.652 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.234, allocations: 1.625 kB / 0.652 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.234, allocations: 2.547 kB / 0.652 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.234, allocations: 0 / 0.652 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.234, allocations: 5.625 kB / 0.652 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.2342, allocations: 211.3 kB / 0.6522 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.2342, allocations: 22.33 kB / 0.6522 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2342, allocations: 1.312 kB / 0.6522 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.2342, allocations: 5.688 kB / 0.6522 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.2343, allocations: 2.906 kB / 0.6522 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2343, allocations: 1.625 kB / 0.6522 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001009/0.2344, allocations: 188.2 kB / 0.6524 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2344, allocations: 288 / 0.6524 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002034/0.2346, allocations: 44.2 kB / 0.6524 GB, free: 53.52 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 (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.0003654/0.2349, allocations: 0.7649 MB / 0.6532 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.2351, allocations: 62.58 kB / 0.6533 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2351, allocations: 0 / 0.6533 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.2351, allocations: 37.16 kB / 0.6533 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.2355, allocations: 41.48 kB / 0.6533 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.2361, allocations: 397.5 kB / 0.6537 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.2362, allocations: 131.4 kB / 0.6538 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.2363, allocations: 7.516 kB / 0.6538 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.2363, allocations: 51.59 kB / 0.6539 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2363, allocations: 0 / 0.6539 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.2541, allocations: 4.782 MB / 0.6586 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.348/6.602, allocations: 14.41 kB / 0.6586 GB, free: 51.49 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.092898262664676] Failed to read output from testmodel.py, exit status != 0: 6.681480225175619 6.689571255 6.457069569 Calling exit ...