Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.001202/0.001202, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009918/0.0009918, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8545/0.8545, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001381/0.001381, allocations: 237.1 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.669/0.669, allocations: 138.4 MB / 454.3 MB, free: 30.04 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.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.662e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.001963/0.00199, allocations: 1.702 MB / 0.6479 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2319/0.2339, allocations: 448.6 kB / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.2339, allocations: 0 / 0.6484 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.2343, allocations: 131.7 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.2344, allocations: 57.17 kB / 0.6485 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.2346, allocations: 68.42 kB / 0.6486 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2347, allocations: 105 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.2348, allocations: 5.531 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.2349, allocations: 46.05 kB / 0.6488 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.235, allocations: 52.25 kB / 0.6488 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.235, allocations: 2.594 kB / 0.6488 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2351, allocations: 76.72 kB / 0.6489 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.2352, allocations: 64.89 kB / 0.6489 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.2352, allocations: 34.56 kB / 0.649 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2355, allocations: 188.4 kB / 0.6492 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2355, allocations: 0.6562 kB / 0.6492 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2355, allocations: 2.188 kB / 0.6492 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2355, allocations: 0 / 0.6492 GB, free: 55.72 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.0004615/0.236, allocations: 411.9 kB / 0.6496 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2361, allocations: 11.41 kB / 0.6496 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.555e-05/0.2361, allocations: 34.72 kB / 0.6496 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.2361, allocations: 21.84 kB / 0.6496 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.2362, allocations: 162.7 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2362, allocations: 1.312 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2362, allocations: 0.9375 kB / 0.6498 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.2364, allocations: 61.58 kB / 0.6498 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2364, allocations: 0.8438 kB / 0.6498 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2364, allocations: 6.156 kB / 0.6498 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.2364, allocations: 8.625 kB / 0.6498 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2365, allocations: 59.06 kB / 0.6499 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.2369, allocations: 296.6 kB / 0.6502 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.767e-05/0.237, allocations: 65.27 kB / 0.6503 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.237, allocations: 32.98 kB / 0.6503 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.2371, allocations: 19.97 kB / 0.6503 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.2371, allocations: 36.23 kB / 0.6503 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2371, allocations: 2.844 kB / 0.6503 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002534/0.2373, allocations: 136.3 kB / 0.6505 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2374, allocations: 52.84 kB / 0.6505 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2375, allocations: 260 kB / 0.6508 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.2375, allocations: 25.7 kB / 0.6508 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.2376, allocations: 136.4 kB / 0.6509 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.2376, allocations: 7.359 kB / 0.6509 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.2376, allocations: 18.75 kB / 0.6509 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.2377, allocations: 330.3 kB / 0.6513 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.2377, allocations: 30.19 kB / 0.6513 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.2378, allocations: 31.27 kB / 0.6513 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.2378, allocations: 67.53 kB / 0.6514 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2378, allocations: 0 / 0.6514 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.238, allocations: 112.2 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.238, allocations: 6.531 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.238, allocations: 1.594 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.238, allocations: 0 / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.2381, allocations: 9.109 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2381, allocations: 0 / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.2381, allocations: 9.562 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.2381, allocations: 3.5 kB / 0.6515 GB, free: 54.11 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.325e-05/0.2382, allocations: 138 kB / 0.6517 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.2382, allocations: 20.41 kB / 0.6517 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.2383, allocations: 113.5 kB / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2383, allocations: 5 kB / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2384, allocations: 0 / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2384, allocations: 0 / 0.6518 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2385, allocations: 190 kB / 0.652 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2385, allocations: 0 / 0.652 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.2385, allocations: 18.83 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2385, allocations: 1.688 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2385, allocations: 0 / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2385, allocations: 0.5312 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2385, allocations: 3.531 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.2386, allocations: 204.2 kB / 0.6522 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.2387, allocations: 21.05 kB / 0.6522 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2387, allocations: 0.5625 kB / 0.6522 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.2387, allocations: 6.984 kB / 0.6522 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.2387, allocations: 4.266 kB / 0.6522 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2388, allocations: 3.281 kB / 0.6522 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.674e-05/0.2388, allocations: 190.2 kB / 0.6524 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2388, allocations: 0 / 0.6524 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001876/0.239, allocations: 40.62 kB / 0.6524 GB, free: 53.55 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.0003547/0.2394, allocations: 0.7621 MB / 0.6532 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.2395, allocations: 70.27 kB / 0.6532 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2395, allocations: 0 / 0.6532 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.2396, allocations: 36.53 kB / 0.6533 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2399, allocations: 42.52 kB / 0.6533 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.2405, allocations: 396.5 kB / 0.6537 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.2406, allocations: 123 kB / 0.6538 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.2406, allocations: 12.17 kB / 0.6538 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.2406, allocations: 51.22 kB / 0.6539 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2406, allocations: 0 / 0.6539 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.2577, allocations: 4.785 MB / 0.6586 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/6.644, allocations: 10.61 kB / 0.6586 GB, free: 51.51 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.115019831806421] Failed to read output from testmodel.py, exit status != 0: 6.723561397753656 6.733136517 6.495741561 Calling exit ...