Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0008953/0.0008953, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008522/0.0008522, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8938/0.8938, allocations: 177.1 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.001908/0.001908, allocations: 245.7 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.6588/0.6588, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.22e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.2279/0.2279, allocations: 4.372 MB / 0.6506 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007538/0.2287, allocations: 0.764 MB / 0.6513 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.2288, allocations: 0.625 kB / 0.6513 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2289, allocations: 22.12 kB / 0.6513 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.229, allocations: 45.81 kB / 0.6514 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.2295, allocations: 176.5 kB / 0.6516 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.2296, allocations: 183.7 kB / 0.6517 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.2297, allocations: 12.31 kB / 0.6517 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.2299, allocations: 112.4 kB / 0.6518 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.23, allocations: 66.36 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.23, allocations: 13.41 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.2302, allocations: 133.8 kB / 0.652 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.2302, allocations: 31.8 kB / 0.6521 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.2303, allocations: 54.42 kB / 0.6521 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2306, allocations: 253.3 kB / 0.6524 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2306, allocations: 0 / 0.6524 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2306, allocations: 3.375 kB / 0.6524 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2306, allocations: 0 / 0.6524 GB, free: 54.32 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005533/0.2311, allocations: 416.7 kB / 0.6528 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2312, allocations: 10.72 kB / 0.6528 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.2312, allocations: 42.33 kB / 0.6528 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.2312, allocations: 16.39 kB / 0.6528 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.2313, allocations: 126.7 kB / 0.653 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2313, allocations: 7.656 kB / 0.653 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2313, allocations: 13.06 kB / 0.653 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.2316, allocations: 120.1 kB / 0.6531 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2316, allocations: 1.594 kB / 0.6531 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2316, allocations: 3.938 kB / 0.6531 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2316, allocations: 5.094 kB / 0.6531 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.2318, allocations: 138 kB / 0.6532 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.2324, allocations: 414.6 kB / 0.6536 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.2326, allocations: 111.4 kB / 0.6537 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2327, allocations: 66.58 kB / 0.6538 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/0.2334, allocations: 476.5 kB / 0.6543 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2334, allocations: 41.3 kB / 0.6543 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.774e-06/0.2334, allocations: 3.938 kB / 0.6543 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12): time 0.0004248/0.2338, allocations: 201.5 kB / 0.6545 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2338, allocations: 61.16 kB / 0.6545 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.234, allocations: 165.2 kB / 0.6547 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.234, allocations: 35.08 kB / 0.6547 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.234, allocations: 111.8 kB / 0.6548 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.234, allocations: 49.17 kB / 0.6549 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.2341, allocations: 44.95 kB / 0.6549 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.2341, allocations: 326.5 kB / 0.6552 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2343, allocations: 69.67 kB / 0.6553 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2344, allocations: 110.5 kB / 0.6554 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.2346, allocations: 183.1 kB / 0.6556 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2346, allocations: 0 / 0.6556 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003342/0.235, allocations: 248.1 kB / 0.6558 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.235, allocations: 5.719 kB / 0.6558 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.235, allocations: 1.812 kB / 0.6558 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.235, allocations: 1.906 kB / 0.6558 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2352, allocations: 57.31 kB / 0.6559 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2352, allocations: 7.703 kB / 0.6559 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.697e-05/0.2353, allocations: 32.31 kB / 0.6559 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2353, allocations: 6 kB / 0.6559 GB, free: 51.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.65e-05/0.2353, allocations: 125.9 kB / 0.6561 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.2353, allocations: 9.422 kB / 0.6561 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.2356, allocations: 178.4 kB / 0.6562 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2356, allocations: 0 / 0.6562 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2356, allocations: 9.562 kB / 0.6562 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2356, allocations: 0.7969 kB / 0.6562 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.2358, allocations: 181 kB / 0.6564 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2358, allocations: 0 / 0.6564 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.2358, allocations: 28.95 kB / 0.6564 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2359, allocations: 2.656 kB / 0.6564 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2359, allocations: 4 kB / 0.6565 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2359, allocations: 1.812 kB / 0.6565 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2359, allocations: 4.828 kB / 0.6565 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.2361, allocations: 258.4 kB / 0.6567 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2361, allocations: 17.27 kB / 0.6567 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2361, allocations: 4.609 kB / 0.6567 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.2362, allocations: 15.53 kB / 0.6567 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2363, allocations: 12.62 kB / 0.6568 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2363, allocations: 11.12 kB / 0.6568 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.2363, allocations: 117.2 kB / 0.6569 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2363, allocations: 0 / 0.6569 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002631/0.2366, allocations: 67.69 kB / 0.6569 GB, free: 51.19 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 (12): * Single equations (assignments): 12 * 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.0005244/0.2371, allocations: 0.8484 MB / 0.6578 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.2374, allocations: 157.8 kB / 0.6579 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2374, allocations: 0 / 0.6579 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2375, allocations: 67.25 kB / 0.658 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2378, allocations: 28.73 kB / 0.658 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2393, allocations: 1.959 MB / 0.6599 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.429e-05/0.2394, allocations: 88.98 kB / 0.66 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.2395, allocations: 24.44 kB / 0.66 GB, free: 48.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.2395, allocations: 36.7 kB / 0.6601 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/0.2395, allocations: 0 / 0.6601 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2599, allocations: 5.119 MB / 0.6651 GB, free: 47.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.904, allocations: 6.281 kB / 0.6651 GB, free: 47.69 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.420642311684787] Failed to read output from testmodel.py, exit status != 0: 6.982118693180382 6.990139876 6.757517723 Calling exit ...