Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",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.0009983/0.0009978, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001055/0.001055, allocations: 195.1 kB / 16.14 MB, free: 6.715 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.718/0.718, allocations: 132.2 MB / 422.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 55.12 kB / 0.5012 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4196, allocations: 80.21 MB / 0.5795 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.003023/0.4227, allocations: 1.312 MB / 0.5808 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.4273, allocations: 3.243 MB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.4273, allocations: 0 / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.4274, allocations: 4.734 kB / 0.584 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/0.4275, allocations: 4.562 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.428, allocations: 92.73 kB / 0.584 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.4281, allocations: 40.91 kB / 0.5841 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.4282, allocations: 7.984 kB / 0.5841 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.4282, allocations: 11.22 kB / 0.5841 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.4283, allocations: 22.25 kB / 0.5841 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.4283, allocations: 2.594 kB / 0.5841 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.4286, allocations: 71.83 kB / 0.5842 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.4286, allocations: 12 kB / 0.5842 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.4287, allocations: 16.92 kB / 0.5842 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4289, allocations: 75.67 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4289, allocations: 0.7031 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.429, allocations: 0 / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.429, allocations: 0.8125 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003751/0.4294, allocations: 350.4 kB / 0.5846 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4294, allocations: 9.375 kB / 0.5846 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.4295, allocations: 33.48 kB / 0.5847 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4296, allocations: 9.547 kB / 0.5847 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.4297, allocations: 162.7 kB / 0.5848 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4297, allocations: 5.906 kB / 0.5848 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.4297, allocations: 7.969 kB / 0.5848 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.4299, allocations: 58.31 kB / 0.5849 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4299, allocations: 0 / 0.5849 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4299, allocations: 0.8438 kB / 0.5849 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.4299, allocations: 1.438 kB / 0.5849 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.43, allocations: 19.91 kB / 0.5849 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.4302, allocations: 170.7 kB / 0.5851 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.4303, allocations: 49.97 kB / 0.5851 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.4304, allocations: 17.78 kB / 0.5852 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008752/0.4313, allocations: 0.5996 MB / 0.5857 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4313, allocations: 39.94 kB / 0.5858 GB, free: 15.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.4313, allocations: 0 / 0.5858 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000748/0.4321, allocations: 295.9 kB / 0.5861 GB, free: 15.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4321, allocations: 52.41 kB / 0.5861 GB, free: 15.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.4322, allocations: 104.1 kB / 0.5862 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4323, allocations: 27.39 kB / 0.5862 GB, free: 15.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.4323, allocations: 85.39 kB / 0.5863 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.4324, allocations: 34.31 kB / 0.5863 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.4325, allocations: 31.14 kB / 0.5864 GB, free: 14.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4326, allocations: 317.8 kB / 0.5867 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.4326, allocations: 10.36 kB / 0.5867 GB, free: 14.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-05/0.4327, allocations: 55.66 kB / 0.5867 GB, free: 14.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4329, allocations: 77.05 kB / 0.5868 GB, free: 14.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4329, allocations: 0.9688 kB / 0.5868 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002453/0.4332, allocations: 98.69 kB / 0.5869 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4332, allocations: 11.17 kB / 0.5869 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4332, allocations: 1.656 kB / 0.5869 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4332, allocations: 2.219 kB / 0.5869 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4334, allocations: 23.31 kB / 0.5869 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.4334, allocations: 2.719 kB / 0.5869 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.4335, allocations: 10.48 kB / 0.587 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.4335, allocations: 3.844 kB / 0.587 GB, free: 14.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001035/0.4336, allocations: 114.6 kB / 0.5871 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.4337, allocations: 2.844 kB / 0.5871 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.4337, allocations: 13.33 kB / 0.5871 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4337, allocations: 1.844 kB / 0.5871 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4338, allocations: 4.688 kB / 0.5871 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4338, allocations: 3.938 kB / 0.5871 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.4342, allocations: 174.6 kB / 0.5873 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4342, allocations: 448 / 0.5873 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4343, allocations: 15.03 kB / 0.5873 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4343, allocations: 0.9688 kB / 0.5873 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4344, allocations: 5.312 kB / 0.5873 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4344, allocations: 0.75 kB / 0.5873 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4344, allocations: 5.094 kB / 0.5873 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.4346, allocations: 178.9 kB / 0.5875 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.4347, allocations: 82.02 kB / 0.5875 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.4348, allocations: 5.859 kB / 0.5875 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4349, allocations: 3.469 kB / 0.5875 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.435, allocations: 7.406 kB / 0.5876 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.435, allocations: 2.094 kB / 0.5876 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.435, allocations: 79.48 kB / 0.5876 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4351, allocations: 4 kB / 0.5876 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.4355, allocations: 14.03 kB / 0.5877 GB, free: 13.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0005375/0.4361, allocations: 0.7109 MB / 0.5883 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.4362, allocations: 42.5 kB / 0.5884 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4362, allocations: 4.781 kB / 0.5884 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.4363, allocations: 16.39 kB / 0.5884 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.4368, allocations: 15.53 kB / 0.5884 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4388, allocations: 1.536 MB / 0.5899 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4391, allocations: 0.6825 MB / 0.5906 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.97e-05/0.4392, allocations: 9.266 kB / 0.5906 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.4393, allocations: 16.12 kB / 0.5906 GB, free: 10.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4393, allocations: 0 / 0.5906 GB, free: 10.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2955/0.7348, allocations: 1.483 MB / 0.5921 GB, free: 10.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/0.7351, allocations: 183.8 kB / 0.5922 GB, free: 10.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.69, allocations: 0 / 0.5922 GB, free: 10.33 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)