Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_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.0009068/0.0009068, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001114/0.001115, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 13.33 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.422, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004832/0.4269, allocations: 4.198 MB / 0.5872 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.43, allocations: 2.49 MB / 0.5897 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4302, allocations: 0.7188 kB / 0.5897 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.4305, allocations: 46.75 kB / 0.5897 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.4308, allocations: 76.05 kB / 0.5898 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.432, allocations: 419.1 kB / 0.5902 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.4324, allocations: 267 kB / 0.5904 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.4324, allocations: 9.391 kB / 0.5904 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.4327, allocations: 109.6 kB / 0.5906 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.4329, allocations: 90.33 kB / 0.5906 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.4329, allocations: 5.844 kB / 0.5906 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.4336, allocations: 265.3 kB / 0.5909 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.4337, allocations: 40.62 kB / 0.5909 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.4337, allocations: 52.02 kB / 0.591 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.4342, allocations: 223.5 kB / 0.5912 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4342, allocations: 0 / 0.5912 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4342, allocations: 0 / 0.5912 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4342, allocations: 0.9062 kB / 0.5912 GB, free: 14.43 MB / 446.1 MB 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.0007366/0.4349, allocations: 473.6 kB / 0.5917 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.435, allocations: 9.062 kB / 0.5917 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.4351, allocations: 53.5 kB / 0.5917 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.4352, allocations: 30.5 kB / 0.5917 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.4354, allocations: 215.4 kB / 0.5919 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.4355, allocations: 10.67 kB / 0.592 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.4355, allocations: 18.8 kB / 0.592 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.4359, allocations: 244.6 kB / 0.5922 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4359, allocations: 0 / 0.5922 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.436, allocations: 12.02 kB / 0.5922 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.436, allocations: 9.75 kB / 0.5922 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.4367, allocations: 432.1 kB / 0.5926 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.4382, allocations: 0.9513 MB / 0.5936 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.4386, allocations: 151.1 kB / 0.5937 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.4387, allocations: 61.94 kB / 0.5938 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.4403, allocations: 1.829 MB / 0.5956 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.4404, allocations: 37.78 kB / 0.5956 GB, free: 10.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.786e-06/0.4404, allocations: 0 / 0.5956 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003678/0.4408, allocations: 143.5 kB / 0.5957 GB, free: 10.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.4408, allocations: 54.11 kB / 0.5958 GB, free: 10.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.441, allocations: 171.7 kB / 0.5959 GB, free: 10.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.4411, allocations: 35.83 kB / 0.596 GB, free: 10.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.4412, allocations: 138.5 kB / 0.5961 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.4412, allocations: 53.97 kB / 0.5962 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.4413, allocations: 5.938 kB / 0.5962 GB, free: 9.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4414, allocations: 330.6 kB / 0.5965 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.4415, allocations: 34.23 kB / 0.5965 GB, free: 9.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.4416, allocations: 147.2 kB / 0.5967 GB, free: 9.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.4417, allocations: 55.78 kB / 0.5967 GB, free: 9.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4418, allocations: 1.438 kB / 0.5967 GB, free: 9.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003894/0.4422, allocations: 215 kB / 0.5969 GB, free: 9.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4422, allocations: 6 kB / 0.5969 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.4422, allocations: 3.312 kB / 0.5969 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4422, allocations: 7.094 kB / 0.5969 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.4424, allocations: 53.36 kB / 0.597 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.4424, allocations: 7.547 kB / 0.597 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.4426, allocations: 37.42 kB / 0.597 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4426, allocations: 11.42 kB / 0.597 GB, free: 9.34 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.4427, allocations: 135.4 kB / 0.5972 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.4428, allocations: 21.53 kB / 0.5972 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.4431, allocations: 148.4 kB / 0.5973 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4431, allocations: 6.125 kB / 0.5973 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4431, allocations: 0.625 kB / 0.5973 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4432, allocations: 6.281 kB / 0.5973 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.4434, allocations: 211.9 kB / 0.5975 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4434, allocations: 0.75 kB / 0.5975 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.4435, allocations: 26.3 kB / 0.5976 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4435, allocations: 4.75 kB / 0.5976 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4436, allocations: 6.797 kB / 0.5976 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4436, allocations: 0.5938 kB / 0.5976 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4436, allocations: 0.9375 kB / 0.5976 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.4438, allocations: 225.4 kB / 0.5978 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.4439, allocations: 111.5 kB / 0.5979 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.444, allocations: 4.859 kB / 0.5979 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4442, allocations: 20.95 kB / 0.5979 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.4442, allocations: 8.016 kB / 0.5979 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.4442, allocations: 13.53 kB / 0.5979 GB, free: 8.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.4444, allocations: 124.7 kB / 0.5981 GB, free: 8.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4444, allocations: 4.531 kB / 0.5981 GB, free: 8.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.4448, allocations: 81.25 kB / 0.5981 GB, free: 8.484 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006888/0.4455, allocations: 0.8169 MB / 0.5989 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.4457, allocations: 118.9 kB / 0.5991 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4458, allocations: 1.031 kB / 0.5991 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.4458, allocations: 44.61 kB / 0.5991 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.4463, allocations: 60.22 kB / 0.5992 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4479, allocations: 1.015 MB / 0.6002 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4482, allocations: 0.7146 MB / 0.6009 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.4484, allocations: 46.03 kB / 0.6009 GB, free: 6.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.4485, allocations: 48.38 kB / 0.6009 GB, free: 6.262 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4485, allocations: 1 kB / 0.6009 GB, free: 6.262 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.4643, allocations: 4.761 MB / 0.6056 GB, free: 4.262 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.4645, allocations: 159.6 kB / 0.6057 GB, free: 4.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.31, allocations: 0 / 0.6057 GB, free: 4.023 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: