Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0008227/0.0008227, 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.0008206/0.0008206, 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.8532/0.8532, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.001411/0.001411, allocations: 225.9 kB / 259.4 MB, free: 13.04 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.6638/0.6638, 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.156e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.2311/0.2311, allocations: 2.024 MB / 0.6483 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2325, allocations: 1.006 MB / 0.6493 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2326, allocations: 5.812 kB / 0.6493 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.2326, allocations: 25.84 kB / 0.6493 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.2329, allocations: 90.98 kB / 0.6494 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2332, allocations: 191.9 kB / 0.6496 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.2335, allocations: 305.1 kB / 0.6499 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2336, allocations: 47.03 kB / 0.6499 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2337, allocations: 155.4 kB / 0.6501 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2339, allocations: 110.6 kB / 0.6502 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.2339, allocations: 18.84 kB / 0.6502 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.2343, allocations: 281.9 kB / 0.6505 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.2343, allocations: 52.06 kB / 0.6505 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.2343, allocations: 79.06 kB / 0.6506 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2346, allocations: 358.7 kB / 0.6509 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2346, allocations: 2.969 kB / 0.6509 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2346, allocations: 0 / 0.6509 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2347, allocations: 1.656 kB / 0.6509 GB, free: 55.37 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005928/0.2352, allocations: 0.558 MB / 0.6515 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2353, allocations: 10.31 kB / 0.6515 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.2353, allocations: 50.83 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.2354, allocations: 39.28 kB / 0.6516 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.2357, allocations: 220.3 kB / 0.6518 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2357, allocations: 13.56 kB / 0.6518 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2357, allocations: 12.97 kB / 0.6518 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.236, allocations: 232.9 kB / 0.652 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.236, allocations: 5.625 kB / 0.652 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.236, allocations: 9.844 kB / 0.652 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.236, allocations: 3.75 kB / 0.652 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.2364, allocations: 201.1 kB / 0.6522 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.237, allocations: 0.8766 MB / 0.6531 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.2374, allocations: 230.7 kB / 0.6533 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2376, allocations: 104.3 kB / 0.6534 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2376, allocations: 6.531 kB / 0.6534 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.075e-05/0.2376, allocations: 37.94 kB / 0.6534 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.2376, allocations: 0 / 0.6534 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0006128/0.2382, allocations: 338.9 kB / 0.6538 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.2382, allocations: 84.02 kB / 0.6539 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2384, allocations: 266.5 kB / 0.6541 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2384, allocations: 35.2 kB / 0.6541 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.2385, allocations: 158.2 kB / 0.6543 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2385, allocations: 54.19 kB / 0.6543 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.2385, allocations: 43.09 kB / 0.6544 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.2386, allocations: 334.9 kB / 0.6547 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2387, allocations: 96.38 kB / 0.6548 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.2389, allocations: 142.8 kB / 0.6549 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.2392, allocations: 241.5 kB / 0.6552 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2392, allocations: 0 / 0.6552 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004267/0.2397, allocations: 291.9 kB / 0.6554 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2397, allocations: 10 kB / 0.6554 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2397, allocations: 2.953 kB / 0.6555 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2397, allocations: 8.906 kB / 0.6555 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2398, allocations: 65.36 kB / 0.6555 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2399, allocations: 4.812 kB / 0.6555 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.24, allocations: 36.78 kB / 0.6556 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.24, allocations: 7.062 kB / 0.6556 GB, free: 52.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.309e-05/0.24, allocations: 136.9 kB / 0.6557 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.2401, allocations: 29.02 kB / 0.6557 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.2405, allocations: 297.3 kB / 0.656 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2405, allocations: 3.141 kB / 0.656 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2405, allocations: 9.594 kB / 0.656 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2405, allocations: 0.6562 kB / 0.656 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.2407, allocations: 236.6 kB / 0.6562 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2407, allocations: 0 / 0.6562 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2409, allocations: 54.88 kB / 0.6563 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2409, allocations: 1.359 kB / 0.6563 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2409, allocations: 11.41 kB / 0.6563 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2409, allocations: 0 / 0.6563 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2409, allocations: 2.406 kB / 0.6563 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.2413, allocations: 441.8 kB / 0.6567 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2413, allocations: 25.44 kB / 0.6568 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2413, allocations: 9.531 kB / 0.6568 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2414, allocations: 34.05 kB / 0.6568 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2415, allocations: 19.33 kB / 0.6568 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.2415, allocations: 5.078 kB / 0.6568 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.72e-05/0.2416, allocations: 191.3 kB / 0.657 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2416, allocations: 0.5625 kB / 0.657 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002213/0.2418, allocations: 59.55 kB / 0.6571 GB, free: 51.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0005584/0.2424, allocations: 0.9951 MB / 0.658 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.2428, allocations: 224.2 kB / 0.6583 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.2428, allocations: 0 / 0.6583 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2429, allocations: 117.8 kB / 0.6584 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2433, allocations: 69.97 kB / 0.6584 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.2454, allocations: 2.712 MB / 0.6611 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.174e-05/0.2455, allocations: 145.8 kB / 0.6612 GB, free: 48.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.6e-05/0.2456, allocations: 32.58 kB / 0.6612 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.2457, allocations: 88.09 kB / 0.6613 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.2457, allocations: 0 / 0.6613 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.2643, allocations: 7.693 MB / 0.6688 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/7.064, allocations: 9.906 kB / 0.6689 GB, free: 47.29 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.546214642934501] Failed to read output from testmodel.py, exit status != 0: 7.147545224055648 7.156615035 6.919798847 Calling exit ...