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.001469/0.001469, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001572/0.001572, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.405/2.405, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.09/1.09, allocations: 132.2 MB / 423.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007864/0.0007869, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.069, allocations: 81.57 MB / 0.5829 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002619/1.072, allocations: 0.9692 MB / 0.5839 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006649/1.078, allocations: 2.832 MB / 0.5867 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/1.078, allocations: 0.6562 kB / 0.5867 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/1.078, allocations: 1.078 kB / 0.5867 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/1.079, allocations: 6.453 kB / 0.5867 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/1.079, allocations: 95.45 kB / 0.5868 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/1.08, allocations: 25.41 kB / 0.5868 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/1.08, allocations: 2.297 kB / 0.5868 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.623e-05/1.08, allocations: 23.5 kB / 0.5868 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/1.08, allocations: 19.19 kB / 0.5868 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/1.08, allocations: 2.406 kB / 0.5868 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/1.08, allocations: 63.28 kB / 0.5869 GB, free: 1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/1.08, allocations: 7.734 kB / 0.5869 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/1.08, allocations: 30.31 kB / 0.5869 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/1.081, allocations: 35.23 kB / 0.587 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.081, allocations: 4 kB / 0.587 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.547e-06/1.081, allocations: 1.281 kB / 0.587 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/1.081, allocations: 0 / 0.587 GB, free: 0.9531 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.0007262/1.081, allocations: 339.8 kB / 0.5873 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001055/1.082, allocations: 9.5 kB / 0.5873 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/1.082, allocations: 32.89 kB / 0.5873 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/1.082, allocations: 8.375 kB / 0.5873 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/1.082, allocations: 165.7 kB / 0.5875 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/1.082, allocations: 9.375 kB / 0.5875 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/1.082, allocations: 4.016 kB / 0.5875 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/1.083, allocations: 56.62 kB / 0.5876 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.083, allocations: 0.75 kB / 0.5876 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.083, allocations: 2.25 kB / 0.5876 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/1.083, allocations: 0 / 0.5876 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/1.083, allocations: 23.33 kB / 0.5876 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/1.083, allocations: 162.7 kB / 0.5877 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/1.083, allocations: 61.36 kB / 0.5878 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/1.085, allocations: 0.591 MB / 0.5884 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/1.085, allocations: 31.84 kB / 0.5884 GB, free: 15.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/1.085, allocations: 0 / 0.5884 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001206/1.086, allocations: 302.8 kB / 0.5887 GB, free: 15.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/1.086, allocations: 53.3 kB / 0.5887 GB, free: 15.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.087, allocations: 99.7 kB / 0.5888 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/1.087, allocations: 26.42 kB / 0.5889 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.087, allocations: 90.67 kB / 0.589 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/1.087, allocations: 29.17 kB / 0.589 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/1.087, allocations: 4.656 kB / 0.589 GB, free: 14.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003783/1.087, allocations: 318.6 kB / 0.5893 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/1.087, allocations: 12.11 kB / 0.5893 GB, free: 14.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/1.088, allocations: 52.64 kB / 0.5893 GB, free: 14.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/1.088, allocations: 15.66 kB / 0.5894 GB, free: 14.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.088, allocations: 1.219 kB / 0.5894 GB, free: 14.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003552/1.088, allocations: 105.5 kB / 0.5895 GB, free: 14.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/1.088, allocations: 9.203 kB / 0.5895 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.088, allocations: 5.656 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.088, allocations: 3.031 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/1.088, allocations: 23.69 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.088, allocations: 1.625 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/1.088, allocations: 2.328 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/1.088, allocations: 7.688 kB / 0.5895 GB, free: 14.32 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 0.0001646/1.089, allocations: 117.8 kB / 0.5896 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/1.089, allocations: 2.75 kB / 0.5896 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/1.089, allocations: 13.95 kB / 0.5896 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.089, allocations: 1.219 kB / 0.5896 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.089, allocations: 0.75 kB / 0.5896 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.089, allocations: 4.469 kB / 0.5897 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/1.089, allocations: 174.5 kB / 0.5898 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.089, allocations: 3.938 kB / 0.5898 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/1.089, allocations: 15.08 kB / 0.5898 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/1.09, allocations: 5 kB / 0.5898 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/1.09, allocations: 1.578 kB / 0.5898 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.09, allocations: 5.016 kB / 0.5898 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.09, allocations: 0 / 0.5898 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/1.09, allocations: 174.7 kB / 0.59 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/1.09, allocations: 81.62 kB / 0.5901 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/1.09, allocations: 1.797 kB / 0.5901 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/1.09, allocations: 3.469 kB / 0.5901 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/1.09, allocations: 15.56 kB / 0.5901 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/1.09, allocations: 7.844 kB / 0.5901 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.314e-05/1.09, allocations: 78.11 kB / 0.5902 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.09, allocations: 0 / 0.5902 GB, free: 13.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004548/1.091, allocations: 9.906 kB / 0.5902 GB, free: 13.64 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.0009628/1.092, allocations: 0.7068 MB / 0.5909 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/1.092, allocations: 45.75 kB / 0.5909 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.092, allocations: 0 / 0.5909 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/1.092, allocations: 13.03 kB / 0.5909 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/1.093, allocations: 11.27 kB / 0.591 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/1.095, allocations: 1.435 MB / 0.5924 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/1.096, allocations: 0.6871 MB / 0.593 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/1.096, allocations: 9.734 kB / 0.593 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/1.096, allocations: 11.53 kB / 0.5931 GB, free: 10.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/1.096, allocations: 0.625 kB / 0.5931 GB, free: 10.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/1.123, allocations: 1.374 MB / 0.5944 GB, free: 10.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005023/1.124, allocations: 163.9 kB / 0.5946 GB, free: 10.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.136, allocations: 0 / 0.5946 GB, free: 10.51 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: