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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005343/0.005343, allocations: 101.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001198, allocations: 183.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 274.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 96.39 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1572, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005719/0.163, allocations: 4.725 MB / 0.7705 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.1658, allocations: 2.695 MB / 0.7732 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1659, allocations: 0 / 0.7732 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1662, allocations: 51.66 kB / 0.7732 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.1665, allocations: 91.38 kB / 0.7733 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1677, allocations: 0.5032 MB / 0.7738 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.168, allocations: 228 kB / 0.774 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1681, allocations: 17.53 kB / 0.774 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1683, allocations: 115.5 kB / 0.7741 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1684, allocations: 91.61 kB / 0.7742 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1684, allocations: 8 kB / 0.7742 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006945/0.1691, allocations: 367.4 kB / 0.7746 GB, free: 0 / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4842, allocations: 35.47 kB / 0.7746 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.4844, allocations: 78.95 kB / 0.7747 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.4856, allocations: 361.3 kB / 0.775 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4856, allocations: 6.375 kB / 0.7751 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4856, allocations: 0.9062 kB / 0.7751 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.4857, allocations: 0 / 0.7751 GB, free: 8.812 MB / 0.5606 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.0008749/0.4865, allocations: 0.498 MB / 0.7755 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.4866, allocations: 9.812 kB / 0.7755 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.4867, allocations: 49.59 kB / 0.7756 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.4869, allocations: 24.72 kB / 0.7756 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.4871, allocations: 216.9 kB / 0.7758 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4872, allocations: 16.53 kB / 0.7758 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.4872, allocations: 15.78 kB / 0.7759 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.4876, allocations: 249.6 kB / 0.7761 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4877, allocations: 0.9062 kB / 0.7761 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.4877, allocations: 9.844 kB / 0.7761 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.4877, allocations: 6.703 kB / 0.7761 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.4883, allocations: 435.6 kB / 0.7765 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.4892, allocations: 0.9431 MB / 0.7774 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.4895, allocations: 167.4 kB / 0.7776 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4896, allocations: 62.05 kB / 0.7777 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.491, allocations: 1.832 MB / 0.7795 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.491, allocations: 42.75 kB / 0.7795 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.582e-06/0.491, allocations: 0 / 0.7795 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003594/0.4914, allocations: 143.1 kB / 0.7796 GB, free: 21.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4914, allocations: 60.03 kB / 0.7797 GB, free: 21.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4916, allocations: 170.3 kB / 0.7799 GB, free: 21.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.4916, allocations: 35.17 kB / 0.7799 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.4917, allocations: 143 kB / 0.78 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4917, allocations: 51.22 kB / 0.7801 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.4918, allocations: 53.12 kB / 0.7801 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4919, allocations: 325.9 kB / 0.7804 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.492, allocations: 35.67 kB / 0.7805 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4921, allocations: 139.6 kB / 0.7806 GB, free: 20.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4923, allocations: 197.4 kB / 0.7808 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4923, allocations: 0 / 0.7808 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003293/0.4927, allocations: 215.6 kB / 0.781 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4927, allocations: 9.75 kB / 0.781 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.4927, allocations: 4.375 kB / 0.781 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4927, allocations: 10.89 kB / 0.781 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.4929, allocations: 56.34 kB / 0.7811 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4929, allocations: 9.125 kB / 0.7811 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.493, allocations: 25.72 kB / 0.7811 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.4931, allocations: 14.75 kB / 0.7811 GB, free: 20.24 MB / 0.5762 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.0001143/0.4932, allocations: 131.1 kB / 0.7812 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.4932, allocations: 16.62 kB / 0.7813 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.4935, allocations: 167.2 kB / 0.7814 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4935, allocations: 6.422 kB / 0.7814 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4936, allocations: 0 / 0.7814 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4936, allocations: 2.219 kB / 0.7814 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4938, allocations: 213.9 kB / 0.7816 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4938, allocations: 0.6875 kB / 0.7816 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.4939, allocations: 26.28 kB / 0.7817 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4939, allocations: 1.547 kB / 0.7817 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4939, allocations: 6.5 kB / 0.7817 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4939, allocations: 5.938 kB / 0.7817 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4939, allocations: 1.656 kB / 0.7817 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.4942, allocations: 221.4 kB / 0.7819 GB, free: 19.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.4943, allocations: 111 kB / 0.782 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.4943, allocations: 6.234 kB / 0.782 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.4945, allocations: 18.52 kB / 0.782 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.4946, allocations: 11.42 kB / 0.782 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.4946, allocations: 11.03 kB / 0.782 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.591e-05/0.4947, allocations: 122.6 kB / 0.7822 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4947, allocations: 4 kB / 0.7822 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004176/0.4951, allocations: 79.08 kB / 0.7822 GB, free: 19.52 MB / 0.5762 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.0007216/0.4959, allocations: 0.8246 MB / 0.783 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4961, allocations: 121.5 kB / 0.7832 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4961, allocations: 1.094 kB / 0.7832 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.4962, allocations: 49.14 kB / 0.7832 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4966, allocations: 56.09 kB / 0.7833 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.4988, allocations: 2.038 MB / 0.7852 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4991, allocations: 0.7094 MB / 0.7859 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.4993, allocations: 49.02 kB / 0.786 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.4994, allocations: 47.33 kB / 0.786 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.4994, allocations: 0.9844 kB / 0.786 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.522, allocations: 5.234 MB / 0.7911 GB, free: 16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.666, allocations: 18.78 kB / 0.7912 GB, free: 15.98 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)