Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.001237/0.001237, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001314/0.001314, allocations: 220 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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.002462/0.002462, allocations: 291.2 kB / 313.5 MB, free: 2.723 MB / 238.1 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 1.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 97.59 kB / 0.7403 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1914, allocations: 95.38 MB / 0.8335 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.017/0.2084, allocations: 11.96 MB / 0.8451 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.2116, allocations: 2.407 MB / 0.8475 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2117, allocations: 4 kB / 0.8475 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.212, allocations: 43.69 kB / 0.8475 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.2124, allocations: 103.3 kB / 0.8476 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.2138, allocations: 0.5244 MB / 0.8481 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.2141, allocations: 231.9 kB / 0.8484 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.2141, allocations: 9.75 kB / 0.8484 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009095/0.2232, allocations: 3.58 MB / 0.8519 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.2235, allocations: 87.66 kB / 0.8519 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.2235, allocations: 11.94 kB / 0.852 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.2261, allocations: 1.038 MB / 0.853 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.2262, allocations: 35.83 kB / 0.853 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2263, allocations: 79.7 kB / 0.8531 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.227, allocations: 366.8 kB / 0.8534 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.227, allocations: 0 / 0.8534 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.227, allocations: 0 / 0.8534 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.227, allocations: 0 / 0.8534 GB, free: 3.77 MB / 0.5919 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.0007981/0.2278, allocations: 445.4 kB / 0.8539 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2279, allocations: 13.28 kB / 0.8539 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.2279, allocations: 4.516 kB / 0.8539 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.2279, allocations: 50.73 kB / 0.8539 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.2281, allocations: 20.84 kB / 0.8539 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2284, allocations: 166.3 kB / 0.8541 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2284, allocations: 12.7 kB / 0.8541 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.2284, allocations: 20.12 kB / 0.8541 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.229, allocations: 492 kB / 0.8546 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.229, allocations: 3.984 kB / 0.8546 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.229, allocations: 8 kB / 0.8546 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.2291, allocations: 4 kB / 0.8546 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.2296, allocations: 443.3 kB / 0.855 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2309, allocations: 0.8242 MB / 0.8558 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.2313, allocations: 155.3 kB / 0.856 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2314, allocations: 48.84 kB / 0.856 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/0.2322, allocations: 467.8 kB / 0.8565 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.2322, allocations: 38.56 kB / 0.8565 GB, free: 376 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.053e-06/0.2322, allocations: 0 / 0.8565 GB, free: 376 kB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003815/0.2326, allocations: 151.8 kB / 0.8567 GB, free: 220 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2327, allocations: 55.41 kB / 0.8567 GB, free: 152 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2329, allocations: 175.9 kB / 0.8569 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2329, allocations: 25.7 kB / 0.8569 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.233, allocations: 152 kB / 0.8571 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.233, allocations: 51.59 kB / 0.8571 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.2331, allocations: 53.66 kB / 0.8572 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2333, allocations: 322.8 kB / 0.8575 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.2333, allocations: 35.97 kB / 0.8575 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.2335, allocations: 142.9 kB / 0.8576 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2338, allocations: 201.5 kB / 0.8578 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2338, allocations: 0 / 0.8578 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003464/0.2341, allocations: 208.1 kB / 0.858 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2341, allocations: 10.81 kB / 0.858 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2341, allocations: 11.88 kB / 0.8581 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2342, allocations: 11.94 kB / 0.8581 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.2344, allocations: 59.91 kB / 0.8581 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.2344, allocations: 8 kB / 0.8581 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2345, allocations: 31.73 kB / 0.8582 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.2345, allocations: 8 kB / 0.8582 GB, free: 14.54 MB / 0.6075 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 0.0001275/0.2347, allocations: 141.7 kB / 0.8583 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.2347, allocations: 11.95 kB / 0.8583 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.235, allocations: 162.7 kB / 0.8585 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.2351, allocations: 4 kB / 0.8585 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2351, allocations: 7.938 kB / 0.8585 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2351, allocations: 0 / 0.8585 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2353, allocations: 176.7 kB / 0.8586 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2354, allocations: 0 / 0.8586 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.2355, allocations: 27.98 kB / 0.8587 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2355, allocations: 0 / 0.8587 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2355, allocations: 11.94 kB / 0.8587 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2355, allocations: 0 / 0.8587 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2355, allocations: 0 / 0.8587 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.2358, allocations: 227.3 kB / 0.8589 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.2358, allocations: 35.8 kB / 0.8589 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.2359, allocations: 7.938 kB / 0.8589 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.2361, allocations: 15.98 kB / 0.859 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.2361, allocations: 7.984 kB / 0.859 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2361, allocations: 15.98 kB / 0.859 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001027/0.2362, allocations: 120 kB / 0.8591 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2362, allocations: 0 / 0.8591 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004112/0.2366, allocations: 79.86 kB / 0.8592 GB, free: 13.43 MB / 0.6075 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.0008474/0.2375, allocations: 0.8316 MB / 0.86 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.2377, allocations: 116.6 kB / 0.8601 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2377, allocations: 8 kB / 0.8601 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.2378, allocations: 43.91 kB / 0.8601 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.2383, allocations: 52.58 kB / 0.8602 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.2408, allocations: 2.054 MB / 0.8622 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2409, allocations: 110.5 kB / 0.8623 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.2411, allocations: 51.98 kB / 0.8624 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.2412, allocations: 47.42 kB / 0.8624 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.2412, allocations: 0 / 0.8624 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.2692, allocations: 6.04 MB / 0.8683 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.15, allocations: 4.062 kB / 0.8683 GB, free: 4.105 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.26709022698924] Failed to read output from testmodel.py, exit status != 0: 11.304113567923196 11.320139613 11.089999903 Calling exit ...