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.0007684/0.0007684, allocations: 80.44 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.0008932/0.0008932, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8408/0.8408, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001412/0.001412, allocations: 237.5 kB / 259.4 MB, free: 13.01 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.6489/0.6489, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.219e-05, allocations: 14.16 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.001748/0.00176, allocations: 1.698 MB / 0.6479 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2309/0.2327, allocations: 413.2 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.2327, allocations: 1.281 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.233, allocations: 130.3 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.2331, allocations: 55.98 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.2333, allocations: 59.56 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2334, allocations: 105.6 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.2334, allocations: 5.391 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.2335, allocations: 44.56 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.2336, allocations: 47.88 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2336, allocations: 2.375 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2337, allocations: 83.58 kB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.2338, allocations: 58.22 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2338, allocations: 31.53 kB / 0.6489 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.234, allocations: 191 kB / 0.6491 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.234, allocations: 2 kB / 0.6491 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.91e-07/0.234, allocations: 0 / 0.6491 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.234, allocations: 0.5625 kB / 0.6491 GB, free: 55.76 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.0004037/0.2344, allocations: 405.9 kB / 0.6495 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2345, allocations: 12.34 kB / 0.6495 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.2345, allocations: 34.08 kB / 0.6495 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2345, allocations: 23.08 kB / 0.6496 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.2346, allocations: 161.2 kB / 0.6497 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2346, allocations: 1.156 kB / 0.6497 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.2346, allocations: 8.25 kB / 0.6497 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2348, allocations: 50.58 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2348, allocations: 2.328 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.2348, allocations: 1.344 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2348, allocations: 4.625 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.2349, allocations: 42.39 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.2352, allocations: 277.3 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.69e-05/0.2353, allocations: 47.39 kB / 0.6501 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.2353, allocations: 28.62 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.2354, allocations: 8.625 kB / 0.6502 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.2354, allocations: 32.94 kB / 0.6502 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.2354, allocations: 0 / 0.6502 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002331/0.2356, allocations: 112.7 kB / 0.6503 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2356, allocations: 52.56 kB / 0.6504 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.2358, allocations: 263.2 kB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.2358, allocations: 27.52 kB / 0.6506 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.2359, allocations: 134 kB / 0.6508 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2359, allocations: 9.469 kB / 0.6508 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.2359, allocations: 12.14 kB / 0.6508 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.236, allocations: 334.7 kB / 0.6511 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.236, allocations: 22.64 kB / 0.6511 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.2361, allocations: 21.25 kB / 0.6511 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.2361, allocations: 47.61 kB / 0.6512 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2361, allocations: 0 / 0.6512 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.2362, allocations: 98.42 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2363, allocations: 5.922 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2363, allocations: 0 / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2363, allocations: 5.344 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.2363, allocations: 16.75 kB / 0.6513 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2363, allocations: 0 / 0.6513 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.2364, allocations: 6.578 kB / 0.6513 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.2364, allocations: 2.156 kB / 0.6513 GB, free: 54.15 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 5.262e-05/0.2364, allocations: 135.5 kB / 0.6514 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.2364, allocations: 20.25 kB / 0.6515 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2366, allocations: 96.78 kB / 0.6516 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2366, allocations: 1.5 kB / 0.6516 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2366, allocations: 2.094 kB / 0.6516 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2366, allocations: 1.266 kB / 0.6516 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.2367, allocations: 171.4 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2367, allocations: 1.25 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.2367, allocations: 13.19 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2367, allocations: 1.312 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.2367, allocations: 4.906 kB / 0.6517 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2367, allocations: 3.938 kB / 0.6518 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2367, allocations: 0 / 0.6518 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.2368, allocations: 184.9 kB / 0.6519 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2368, allocations: 21.33 kB / 0.6519 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2368, allocations: 3.281 kB / 0.652 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.2369, allocations: 7.172 kB / 0.652 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.2369, allocations: 7.906 kB / 0.652 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.2369, allocations: 1.172 kB / 0.652 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.237, allocations: 190.1 kB / 0.6521 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.237, allocations: 2.625 kB / 0.6522 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001642/0.2372, allocations: 32.56 kB / 0.6522 GB, free: 53.6 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.0002919/0.2375, allocations: 0.7451 MB / 0.6529 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.2376, allocations: 47.25 kB / 0.653 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2376, allocations: 1.625 kB / 0.653 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.2376, allocations: 18.41 kB / 0.653 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.238, allocations: 50.88 kB / 0.653 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.2385, allocations: 386.6 kB / 0.6534 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.2386, allocations: 127.1 kB / 0.6535 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.2386, allocations: 9.922 kB / 0.6535 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.2387, allocations: 50.8 kB / 0.6536 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.2387, allocations: 0 / 0.6536 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2552, allocations: 4.757 MB / 0.6582 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/6.738, allocations: 9.516 kB / 0.6582 GB, free: 51.58 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.17059882171452] Failed to read output from testmodel.py, exit status != 0: 6.816322019323707 6.823944112 6.5882861120000005 Calling exit ...