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.001086/0.001086, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001258/0.001258, allocations: 192.2 kB / 16.25 MB, free: 6.156 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.729/0.729, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.5 kB / 0.5013 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.19 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002263/0.1299, allocations: 1.329 MB / 0.581 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1333, allocations: 3.235 MB / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1333, allocations: 0 / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1334, allocations: 4 kB / 0.5841 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.1334, allocations: 3.938 kB / 0.5841 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.1339, allocations: 95.61 kB / 0.5842 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.134, allocations: 35.91 kB / 0.5842 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.134, allocations: 7.984 kB / 0.5843 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.134, allocations: 15.94 kB / 0.5843 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.1341, allocations: 11.98 kB / 0.5843 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1341, allocations: 0 / 0.5843 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.1343, allocations: 91.73 kB / 0.5844 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.1344, allocations: 11.92 kB / 0.5844 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1344, allocations: 19.92 kB / 0.5844 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1346, allocations: 72.12 kB / 0.5845 GB, free: 4.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1346, allocations: 0 / 0.5845 GB, free: 4.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1346, allocations: 0 / 0.5845 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1346, allocations: 3.938 kB / 0.5845 GB, free: 4.066 MB / 494.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.0003659/0.1349, allocations: 343.5 kB / 0.5848 GB, free: 3.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.135, allocations: 12.03 kB / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.135, allocations: 34.75 kB / 0.5848 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.1351, allocations: 4.938 kB / 0.5848 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1353, allocations: 164.3 kB / 0.585 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1353, allocations: 4.375 kB / 0.585 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1353, allocations: 12.31 kB / 0.585 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1355, allocations: 57.55 kB / 0.5851 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1355, allocations: 0 / 0.5851 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1355, allocations: 4 kB / 0.5851 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1355, allocations: 0 / 0.5851 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.1356, allocations: 31.95 kB / 0.5851 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1358, allocations: 165.6 kB / 0.5853 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.1358, allocations: 50.5 kB / 0.5853 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.1359, allocations: 20.84 kB / 0.5853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/0.1366, allocations: 0.591 MB / 0.5859 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1366, allocations: 38.56 kB / 0.586 GB, free: 2.273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1366, allocations: 0 / 0.586 GB, free: 2.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005285/0.1372, allocations: 306.1 kB / 0.5862 GB, free: 1.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1372, allocations: 51.41 kB / 0.5863 GB, free: 1.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.1373, allocations: 101.8 kB / 0.5864 GB, free: 1.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1373, allocations: 25.7 kB / 0.5864 GB, free: 1.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.1373, allocations: 84.14 kB / 0.5865 GB, free: 1.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1374, allocations: 31.55 kB / 0.5865 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.1374, allocations: 29.66 kB / 0.5866 GB, free: 1.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1375, allocations: 322.8 kB / 0.5869 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.1375, allocations: 12 kB / 0.5869 GB, free: 1.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-05/0.1376, allocations: 53.14 kB / 0.5869 GB, free: 1.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.1377, allocations: 73.08 kB / 0.587 GB, free: 1.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1377, allocations: 0 / 0.587 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/0.1378, allocations: 93.58 kB / 0.5871 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1378, allocations: 12 kB / 0.5871 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1378, allocations: 0 / 0.5871 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1379, allocations: 4 kB / 0.5871 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.1379, allocations: 27.92 kB / 0.5871 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1379, allocations: 80 / 0.5871 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.138, allocations: 7.938 kB / 0.5871 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.138, allocations: 7.984 kB / 0.5871 GB, free: 0.9141 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/0.1381, allocations: 114.5 kB / 0.5872 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1381, allocations: 0 / 0.5872 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.1381, allocations: 11.97 kB / 0.5873 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1381, allocations: 4 kB / 0.5873 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1382, allocations: 0 / 0.5873 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1382, allocations: 3.938 kB / 0.5873 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1384, allocations: 181.7 kB / 0.5874 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1384, allocations: 448 / 0.5874 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.1385, allocations: 16.27 kB / 0.5875 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1385, allocations: 0 / 0.5875 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1385, allocations: 11.94 kB / 0.5875 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1386, allocations: 0 / 0.5875 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1386, allocations: 4 kB / 0.5875 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1387, allocations: 175.4 kB / 0.5876 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.1388, allocations: 81.11 kB / 0.5877 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1388, allocations: 0 / 0.5877 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1389, allocations: 15.97 kB / 0.5877 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1389, allocations: 7.875 kB / 0.5877 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1389, allocations: 4 kB / 0.5877 GB, free: 208 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.139, allocations: 83.27 kB / 0.5878 GB, free: 124 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.139, allocations: 4 kB / 0.5878 GB, free: 120 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1392, allocations: 12 kB / 0.5878 GB, free: 108 kB / 494.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 (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.0003991/0.1396, allocations: 0.7046 MB / 0.5885 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1397, allocations: 47.86 kB / 0.5886 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1397, allocations: 4 kB / 0.5886 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.1398, allocations: 8 kB / 0.5886 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.14, allocations: 19.2 kB / 0.5886 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1416, allocations: 1.52 MB / 0.5901 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1418, allocations: 0.6846 MB / 0.5908 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1419, allocations: 11.98 kB / 0.5908 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1419, allocations: 15.44 kB / 0.5908 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1419, allocations: 0 / 0.5908 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1989/0.3408, allocations: 1.534 MB / 0.5923 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.3411, allocations: 173.7 kB / 0.5924 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.131, allocations: 0 / 0.5924 GB, free: 11.27 MB / 0.4981 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)