Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_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.0008997/0.0008995, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006545/0.006546, allocations: 170 kB / 16.26 MB, free: 6.613 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 8.625 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 82.3 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001387/0.1648, allocations: 0.9783 MB / 0.589 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.1687, allocations: 3.208 MB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.1687, allocations: 7.938 kB / 0.5922 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.1687, allocations: 3.984 kB / 0.5922 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.585e-05/0.1688, allocations: 4 kB / 0.5922 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.1693, allocations: 91.61 kB / 0.5923 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.1694, allocations: 35.8 kB / 0.5923 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1695, allocations: 3.984 kB / 0.5923 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.1695, allocations: 19.98 kB / 0.5923 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.1696, allocations: 15.92 kB / 0.5923 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1696, allocations: 8 kB / 0.5923 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1699, allocations: 75.8 kB / 0.5924 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.17, allocations: 8 kB / 0.5924 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.17, allocations: 45.61 kB / 0.5925 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1702, allocations: 68.02 kB / 0.5925 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1702, allocations: 3.984 kB / 0.5925 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1703, allocations: 0 / 0.5925 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1703, allocations: 0 / 0.5925 GB, free: 13.92 MB / 0.4981 GB 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.0004242/0.1707, allocations: 335.5 kB / 0.5928 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1708, allocations: 16.03 kB / 0.5929 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.1708, allocations: 34.75 kB / 0.5929 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1709, allocations: 4.938 kB / 0.5929 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1711, allocations: 164.3 kB / 0.5931 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1711, allocations: 4.375 kB / 0.5931 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.1711, allocations: 12.36 kB / 0.5931 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1713, allocations: 53.61 kB / 0.5931 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1713, allocations: 0 / 0.5931 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1713, allocations: 3.938 kB / 0.5931 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1713, allocations: 4 kB / 0.5931 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.1714, allocations: 19.98 kB / 0.5931 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.1716, allocations: 165.6 kB / 0.5933 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1717, allocations: 50.55 kB / 0.5934 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.1717, allocations: 12.86 kB / 0.5934 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/0.1725, allocations: 0.6026 MB / 0.594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1726, allocations: 34.55 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1726, allocations: 4 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000633/0.1732, allocations: 302.1 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1733, allocations: 55.41 kB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.1733, allocations: 97.8 kB / 0.5944 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1734, allocations: 33.7 kB / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1734, allocations: 92.03 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1734, allocations: 23.59 kB / 0.5946 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1735, allocations: 21.7 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1736, allocations: 314.8 kB / 0.5949 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.1736, allocations: 15.98 kB / 0.5949 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.1737, allocations: 55.45 kB / 0.595 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/0.1738, allocations: 73.02 kB / 0.595 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1738, allocations: 0 / 0.595 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001311/0.1739, allocations: 97.45 kB / 0.5951 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1739, allocations: 8 kB / 0.5951 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.174, allocations: 0 / 0.5951 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.174, allocations: 4 kB / 0.5951 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.174, allocations: 19.98 kB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1741, allocations: 3.938 kB / 0.5952 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1741, allocations: 11.94 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1741, allocations: 4 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB 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 7.298e-05/0.1742, allocations: 118 kB / 0.5953 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1742, allocations: 448 / 0.5953 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1743, allocations: 11.97 kB / 0.5953 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1743, allocations: 0 / 0.5953 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1743, allocations: 3.938 kB / 0.5953 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1743, allocations: 7.922 kB / 0.5953 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1745, allocations: 173.7 kB / 0.5955 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1745, allocations: 0 / 0.5955 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.1746, allocations: 19.98 kB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1746, allocations: 0 / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1747, allocations: 4 kB / 0.5955 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1747, allocations: 7.938 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1747, allocations: 0 / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1748, allocations: 171.4 kB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1749, allocations: 81.16 kB / 0.5957 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1749, allocations: 3.984 kB / 0.5957 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.175, allocations: 8 kB / 0.5958 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.175, allocations: 3.938 kB / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1751, allocations: 8 kB / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.1751, allocations: 83.64 kB / 0.5958 GB, free: 10 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1751, allocations: 0 / 0.5958 GB, free: 10 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002327/0.1753, allocations: 12 kB / 0.5959 GB, free: 9.992 MB / 0.4981 GB 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.000481/0.1758, allocations: 0.7203 MB / 0.5966 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.176, allocations: 35.92 kB / 0.5966 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.176, allocations: 4 kB / 0.5966 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.176, allocations: 16.17 kB / 0.5966 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1763, allocations: 15.92 kB / 0.5966 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1778, allocations: 1.582 MB / 0.5982 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1781, allocations: 0.6809 MB / 0.5988 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.1781, allocations: 8 kB / 0.5988 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.1782, allocations: 19.42 kB / 0.5989 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of SimCode: time 6.272e-06/0.1782, allocations: 0 / 0.5989 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/0.3461, allocations: 1.447 MB / 0.6003 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003717/0.3465, allocations: 183.1 kB / 0.6005 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.256, allocations: 0 / 0.6005 GB, free: 5.176 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)