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.001582/0.001582, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001859/0.001859, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9774/0.9774, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.84 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 80.94 MB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002668/0.166, allocations: 1.313 MB / 0.5853 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.17, allocations: 3.231 MB / 0.5884 GB, free: 252 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1701, allocations: 3.938 kB / 0.5884 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.1701, allocations: 0 / 0.5884 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.1702, allocations: 7.922 kB / 0.5884 GB, free: 240 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.1708, allocations: 95.61 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.1709, allocations: 43.84 kB / 0.5886 GB, free: 100 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.1709, allocations: 0 / 0.5886 GB, free: 100 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.171, allocations: 27.91 kB / 0.5886 GB, free: 72 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.1711, allocations: 15.94 kB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1711, allocations: 0 / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.1714, allocations: 75.84 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.1714, allocations: 11.94 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1715, allocations: 19.92 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1717, allocations: 72.08 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1717, allocations: 0 / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1718, allocations: 0 / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1718, allocations: 0 / 0.5888 GB, free: 15.88 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.0006082/0.1724, allocations: 347.5 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1724, allocations: 8.031 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.1725, allocations: 38.75 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.1727, allocations: 4.938 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1728, allocations: 172.2 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1728, allocations: 4.375 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1729, allocations: 4.375 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.173, allocations: 61.59 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.173, allocations: 4 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1731, allocations: 8 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1731, allocations: 3.984 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.1731, allocations: 15.98 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1733, allocations: 165.6 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1735, allocations: 54.48 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.1735, allocations: 16.86 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000761/0.1743, allocations: 0.5948 MB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1743, allocations: 38.55 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1743, allocations: 0 / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006244/0.1749, allocations: 306.1 kB / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.175, allocations: 55.41 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.1751, allocations: 105.8 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1751, allocations: 25.7 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.1752, allocations: 88.03 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1752, allocations: 23.66 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.1753, allocations: 29.7 kB / 0.5909 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1754, allocations: 314.8 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.1754, allocations: 12 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.1755, allocations: 57.14 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.1756, allocations: 73.08 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1756, allocations: 0 / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.1757, allocations: 97.73 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1758, allocations: 4 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1758, allocations: 4 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1758, allocations: 3.938 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.1759, allocations: 19.98 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1759, allocations: 4 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1759, allocations: 11.92 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.176, allocations: 4 kB / 0.5914 GB, free: 12.72 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 9.046e-05/0.1761, allocations: 121.9 kB / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.1761, allocations: 4 kB / 0.5916 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1761, allocations: 7.969 kB / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1761, allocations: 3.938 kB / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1761, allocations: 0 / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1762, allocations: 8.375 kB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.1764, allocations: 173.7 kB / 0.5917 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1764, allocations: 4 kB / 0.5918 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.1765, allocations: 19.98 kB / 0.5918 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1765, allocations: 4 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1765, allocations: 0 / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1766, allocations: 0 / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1766, allocations: 4 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1768, allocations: 175.3 kB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.1768, allocations: 81.11 kB / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1768, allocations: 4.031 kB / 0.592 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.177, allocations: 4 kB / 0.592 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.177, allocations: 11.94 kB / 0.592 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.177, allocations: 0 / 0.592 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.177, allocations: 83.27 kB / 0.5921 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 0 / 0.5921 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002465/0.1773, allocations: 16 kB / 0.5921 GB, free: 11.92 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.0004854/0.1778, allocations: 0.7123 MB / 0.5928 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1779, allocations: 43.92 kB / 0.5929 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1779, allocations: 0 / 0.5929 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.178, allocations: 12 kB / 0.5929 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1783, allocations: 18.88 kB / 0.5929 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1799, allocations: 1.525 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1801, allocations: 0.6924 MB / 0.5951 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.965e-05/0.1802, allocations: 4 kB / 0.5951 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.1802, allocations: 15.44 kB / 0.5951 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1802, allocations: 4 kB / 0.5951 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/0.3153, allocations: 1.535 MB / 0.5966 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/0.3157, allocations: 177.4 kB / 0.5968 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.106, allocations: 0 / 0.5968 GB, free: 7.066 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)