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.0008644/0.0008643, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008979/0.000898, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.755/0.755, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 10.09 kB / 0.5035 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4362, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00113/0.4374, allocations: 0.9785 MB / 0.5841 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.4404, allocations: 3.046 MB / 0.5871 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.4405, allocations: 4 kB / 0.5871 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.4405, allocations: 0.6094 kB / 0.5871 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.4406, allocations: 5.828 kB / 0.5871 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.4409, allocations: 98.06 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.441, allocations: 27.34 kB / 0.5872 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.441, allocations: 6.828 kB / 0.5872 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.4411, allocations: 19.75 kB / 0.5872 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.4411, allocations: 18.89 kB / 0.5872 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.4412, allocations: 5.562 kB / 0.5872 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.4414, allocations: 56.59 kB / 0.5873 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.4414, allocations: 3.594 kB / 0.5873 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.4414, allocations: 30.78 kB / 0.5873 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.4415, allocations: 36.2 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4416, allocations: 0 / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4416, allocations: 1.031 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.4416, allocations: 0 / 0.5874 GB, free: 0.9102 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.0002678/0.4418, allocations: 340.4 kB / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4419, allocations: 13.34 kB / 0.5877 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.4419, allocations: 32.67 kB / 0.5877 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.442, allocations: 8.688 kB / 0.5877 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.441e-05/0.4421, allocations: 165.2 kB / 0.5879 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.4421, allocations: 5.375 kB / 0.5879 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.4421, allocations: 4.562 kB / 0.5879 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.4422, allocations: 57 kB / 0.588 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4423, allocations: 1.031 kB / 0.588 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4423, allocations: 0.7188 kB / 0.588 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4423, allocations: 8.547 kB / 0.588 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.4423, allocations: 19.8 kB / 0.588 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.4425, allocations: 162.7 kB / 0.5881 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.4426, allocations: 53.58 kB / 0.5882 GB, free: 12 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.4426, allocations: 17.98 kB / 0.5882 GB, free: 0 / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.4433, allocations: 0.6041 MB / 0.5888 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4433, allocations: 33.66 kB / 0.5888 GB, free: 15.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4433, allocations: 0 / 0.5888 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005465/0.4439, allocations: 306.5 kB / 0.5891 GB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.4439, allocations: 52.56 kB / 0.5892 GB, free: 14.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.444, allocations: 100.7 kB / 0.5893 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.444, allocations: 31.08 kB / 0.5893 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.4441, allocations: 89.42 kB / 0.5894 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4441, allocations: 26.08 kB / 0.5894 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4441, allocations: 0 / 0.5894 GB, free: 14.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.4442, allocations: 314.3 kB / 0.5897 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.4443, allocations: 12.86 kB / 0.5897 GB, free: 14.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.4443, allocations: 56.98 kB / 0.5898 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.4444, allocations: 19.66 kB / 0.5898 GB, free: 14.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4444, allocations: 0 / 0.5898 GB, free: 14.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001497/0.4445, allocations: 101.5 kB / 0.5899 GB, free: 14.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4446, allocations: 9.406 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4446, allocations: 6.953 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4446, allocations: 1.562 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.4447, allocations: 19.33 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.4447, allocations: 2.75 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.4447, allocations: 2.062 kB / 0.5899 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4447, allocations: 4.562 kB / 0.5899 GB, free: 14.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.4448, allocations: 118.3 kB / 0.5901 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.4449, allocations: 7.875 kB / 0.5901 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.4449, allocations: 17.28 kB / 0.5901 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4449, allocations: 4.781 kB / 0.5901 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4449, allocations: 0.5312 kB / 0.5901 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4449, allocations: 1.734 kB / 0.5901 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4452, allocations: 176.9 kB / 0.5903 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4452, allocations: 0 / 0.5903 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/0.4453, allocations: 16.08 kB / 0.5903 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.4453, allocations: 3.953 kB / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4453, allocations: 1.938 kB / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4453, allocations: 0.6875 kB / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4453, allocations: 0 / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.4455, allocations: 175 kB / 0.5904 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.4455, allocations: 86.31 kB / 0.5905 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.4456, allocations: 6.188 kB / 0.5905 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.4457, allocations: 3.141 kB / 0.5905 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.4457, allocations: 3.656 kB / 0.5905 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4457, allocations: 2.625 kB / 0.5905 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.4458, allocations: 82.84 kB / 0.5906 GB, free: 13.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4458, allocations: 0 / 0.5906 GB, free: 13.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.446, allocations: 14.94 kB / 0.5906 GB, free: 13.58 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 (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.0003915/0.4464, allocations: 0.7093 MB / 0.5913 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.4465, allocations: 42.97 kB / 0.5914 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4465, allocations: 4.062 kB / 0.5914 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.4466, allocations: 16.47 kB / 0.5914 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4469, allocations: 11.33 kB / 0.5914 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.4479, allocations: 0.6871 MB / 0.5921 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4481, allocations: 0.6821 MB / 0.5927 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.4482, allocations: 9.766 kB / 0.5927 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.4482, allocations: 16.05 kB / 0.5928 GB, free: 11.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4482, allocations: 0 / 0.5928 GB, free: 11.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.4606, allocations: 1.389 MB / 0.5941 GB, free: 11.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.4608, allocations: 171.6 kB / 0.5943 GB, free: 11.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.133, allocations: 3.062 kB / 0.5943 GB, free: 11.18 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/linux/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) Environment - environmentSimulation: