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.005446/0.005446, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001232/0.001233, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8044/0.8044, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 67.28 kB / 0.5808 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1454, allocations: 80.2 MB / 0.6591 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002548/0.148, allocations: 1.275 MB / 0.6604 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004059/0.152, allocations: 3.263 MB / 0.6636 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.1521, allocations: 4 kB / 0.6636 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1521, allocations: 7.922 kB / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.1522, allocations: 0 / 0.6636 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1527, allocations: 107.5 kB / 0.6637 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.1527, allocations: 35.91 kB / 0.6637 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.1528, allocations: 0 / 0.6637 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.1528, allocations: 15.98 kB / 0.6637 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.1529, allocations: 19.91 kB / 0.6638 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1529, allocations: 11.94 kB / 0.6638 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1531, allocations: 71.81 kB / 0.6638 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.1532, allocations: 11.98 kB / 0.6639 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1532, allocations: 19.92 kB / 0.6639 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1534, allocations: 64.08 kB / 0.6639 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1534, allocations: 0 / 0.6639 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1534, allocations: 0 / 0.6639 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1534, allocations: 4 kB / 0.6639 GB, free: 5.855 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.0004386/0.1539, allocations: 355.3 kB / 0.6643 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1539, allocations: 8.031 kB / 0.6643 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1539, allocations: 38.75 kB / 0.6643 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.154, allocations: 8.875 kB / 0.6643 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1542, allocations: 164.4 kB / 0.6645 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1542, allocations: 4.312 kB / 0.6645 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1542, allocations: 8.375 kB / 0.6645 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1544, allocations: 57.55 kB / 0.6646 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1544, allocations: 0 / 0.6646 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1544, allocations: 4 kB / 0.6646 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1544, allocations: 8 kB / 0.6646 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.1545, allocations: 11.98 kB / 0.6646 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.1547, allocations: 173.5 kB / 0.6647 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.1548, allocations: 58.48 kB / 0.6648 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.1548, allocations: 16.86 kB / 0.6648 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/0.1556, allocations: 0.5908 MB / 0.6654 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1556, allocations: 38.56 kB / 0.6654 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1556, allocations: 0 / 0.6654 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005685/0.1562, allocations: 298.5 kB / 0.6657 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1562, allocations: 55.39 kB / 0.6658 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.1563, allocations: 101.8 kB / 0.6659 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1564, allocations: 37.7 kB / 0.6659 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.1564, allocations: 84.09 kB / 0.666 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1565, allocations: 31.69 kB / 0.666 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.1565, allocations: 29.7 kB / 0.666 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1566, allocations: 310.8 kB / 0.6663 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.1567, allocations: 15.98 kB / 0.6663 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.1568, allocations: 58.78 kB / 0.6664 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.1569, allocations: 69.27 kB / 0.6665 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1569, allocations: 0 / 0.6665 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.157, allocations: 101.5 kB / 0.6666 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.157, allocations: 4 kB / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1571, allocations: 448 / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1571, allocations: 4 kB / 0.6666 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.1572, allocations: 23.92 kB / 0.6666 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1572, allocations: 4 kB / 0.6666 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.1572, allocations: 11.94 kB / 0.6666 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1572, allocations: 4 kB / 0.6666 GB, free: 2.691 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 8.522e-05/0.1573, allocations: 118.8 kB / 0.6667 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1573, allocations: 7.953 kB / 0.6667 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.1574, allocations: 7.969 kB / 0.6667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1574, allocations: 3.984 kB / 0.6667 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1574, allocations: 3.938 kB / 0.6668 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1574, allocations: 3.938 kB / 0.6668 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1577, allocations: 173.6 kB / 0.6669 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1577, allocations: 0 / 0.6669 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.1578, allocations: 20 kB / 0.6669 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1578, allocations: 0 / 0.6669 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1578, allocations: 4 kB / 0.6669 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1578, allocations: 0 / 0.6669 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1578, allocations: 0 / 0.6669 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.158, allocations: 175.5 kB / 0.6671 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1581, allocations: 85.09 kB / 0.6672 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1581, allocations: 4 kB / 0.6672 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1582, allocations: 7.938 kB / 0.6672 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.1582, allocations: 7.938 kB / 0.6672 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1583, allocations: 7.984 kB / 0.6672 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.1583, allocations: 79.28 kB / 0.6673 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 0.6673 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.1585, allocations: 12 kB / 0.6673 GB, free: 1.891 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.0004845/0.159, allocations: 0.7087 MB / 0.668 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.1592, allocations: 48.31 kB / 0.668 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1592, allocations: 0 / 0.668 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.1592, allocations: 19.98 kB / 0.6681 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1595, allocations: 5.344 kB / 0.6681 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1612, allocations: 1.526 MB / 0.6696 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1615, allocations: 0.6845 MB / 0.6702 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1616, allocations: 11.98 kB / 0.6702 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.1616, allocations: 15.44 kB / 0.6703 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1616, allocations: 0 / 0.6703 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/0.2954, allocations: 1.629 MB / 0.6718 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.056/9.351, allocations: 18.45 kB / 0.6719 GB, free: 13.14 MB / 0.5137 GB (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)