Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.0007333/0.0007333, 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.000783/0.000783, allocations: 170.3 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.8581/0.8581, 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.001438/0.001438, allocations: 244.8 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.6388/0.6388, allocations: 138.4 MB / 454.3 MB, free: 1.602 MB / 362.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.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.042e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00384/0.003861, allocations: 4.494 MB / 0.6507 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.005343, allocations: 2.455 MB / 0.6531 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.005511, allocations: 1.375 kB / 0.6531 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.005793, allocations: 39.38 kB / 0.6532 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.006035, allocations: 112.5 kB / 0.6533 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.00704, allocations: 0.5332 MB / 0.6538 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.007248, allocations: 242.7 kB / 0.654 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.007291, allocations: 8 kB / 0.654 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.007488, allocations: 158.2 kB / 0.6542 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.007599, allocations: 83.55 kB / 0.6543 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.007622, allocations: 6.844 kB / 0.6543 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.008146, allocations: 323.2 kB / 0.6546 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.008218, allocations: 37.45 kB / 0.6546 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.00828, allocations: 65.02 kB / 0.6547 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.008697, allocations: 373.6 kB / 0.655 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008701, allocations: 3.938 kB / 0.655 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008702, allocations: 1.531 kB / 0.655 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.008707, allocations: 0 / 0.655 GB, free: 22.37 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005462/0.009253, allocations: 446.3 kB / 0.6555 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.009292, allocations: 10.06 kB / 0.6555 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.483e-05/0.009327, allocations: 52.44 kB / 0.6555 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.009431, allocations: 26.75 kB / 0.6555 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.009633, allocations: 155.9 kB / 0.6557 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.009645, allocations: 10.95 kB / 0.6557 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.009661, allocations: 18.03 kB / 0.6557 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.009937, allocations: 497 kB / 0.6562 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.009946, allocations: 1.531 kB / 0.6562 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.009964, allocations: 14.66 kB / 0.6562 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.009988, allocations: 5.25 kB / 0.6562 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.01027, allocations: 425.5 kB / 0.6566 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.01097, allocations: 0.8062 MB / 0.6574 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.0112, allocations: 151.4 kB / 0.6576 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.01126, allocations: 56.16 kB / 0.6576 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/0.01169, allocations: 462 kB / 0.658 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.01171, allocations: 41 kB / 0.6581 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.01171, allocations: 1.188 kB / 0.6581 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0002434/0.01195, allocations: 140.6 kB / 0.6582 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/0.01197, allocations: 57.92 kB / 0.6583 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.01206, allocations: 178.2 kB / 0.6584 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.01207, allocations: 27.36 kB / 0.6585 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.01211, allocations: 144.6 kB / 0.6586 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.01213, allocations: 58.58 kB / 0.6587 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.01217, allocations: 48.52 kB / 0.6587 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.622e-05/0.0122, allocations: 325.6 kB / 0.659 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.01224, allocations: 33.98 kB / 0.6591 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.01231, allocations: 147.9 kB / 0.6592 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.01244, allocations: 192.3 kB / 0.6594 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01244, allocations: 0.7812 kB / 0.6594 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002002/0.01264, allocations: 221.9 kB / 0.6596 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01266, allocations: 5.938 kB / 0.6596 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.01267, allocations: 8.438 kB / 0.6596 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.251e-05/0.01272, allocations: 5.312 kB / 0.6596 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01283, allocations: 60.84 kB / 0.6597 GB, free: 18.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01284, allocations: 5.188 kB / 0.6597 GB, free: 18.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.0129, allocations: 27.56 kB / 0.6597 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.01292, allocations: 18.95 kB / 0.6597 GB, free: 18.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.074e-05/0.01298, allocations: 135.7 kB / 0.6598 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.01301, allocations: 15.94 kB / 0.6599 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.0132, allocations: 156.8 kB / 0.66 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.01321, allocations: 7 kB / 0.66 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01321, allocations: 0 / 0.66 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01322, allocations: 7.922 kB / 0.66 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.01334, allocations: 173.8 kB / 0.6602 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01335, allocations: 1.188 kB / 0.6602 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.01341, allocations: 30.8 kB / 0.6602 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01341, allocations: 5.094 kB / 0.6602 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01342, allocations: 14.12 kB / 0.6602 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01343, allocations: 3.984 kB / 0.6602 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01343, allocations: 1.094 kB / 0.6602 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01356, allocations: 222.6 kB / 0.6605 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.01361, allocations: 33.89 kB / 0.6605 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01363, allocations: 5.219 kB / 0.6605 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.01373, allocations: 11.48 kB / 0.6605 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.01375, allocations: 16.59 kB / 0.6605 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01376, allocations: 10.78 kB / 0.6605 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.01381, allocations: 124.9 kB / 0.6607 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01381, allocations: 0 / 0.6607 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002781/0.01408, allocations: 79.7 kB / 0.6607 GB, free: 17.61 MB / 0.5105 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004092/0.01449, allocations: 0.8237 MB / 0.6615 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.01466, allocations: 123.5 kB / 0.6617 GB, free: 16.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01466, allocations: 1.188 kB / 0.6617 GB, free: 16.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.0147, allocations: 45.25 kB / 0.6617 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.01499, allocations: 59.05 kB / 0.6618 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01626, allocations: 2.016 MB / 0.6637 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.01632, allocations: 101 kB / 0.6638 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.01643, allocations: 50.16 kB / 0.6639 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.01648, allocations: 47.27 kB / 0.6639 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.01648, allocations: 0 / 0.6639 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.03255, allocations: 6.242 MB / 0.67 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.302/6.334, allocations: 16.83 kB / 0.67 GB, free: 8.898 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.946930310688913] Failed to read output from testmodel.py, exit status != 0: 6.413677827455103 6.420551316 6.410045955 Calling exit ...