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.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6886/0.6886, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 65.41 kB / 0.5019 GB, free: 8.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1275, allocations: 80.19 MB / 0.5802 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00197/0.1295, allocations: 1.258 MB / 0.5814 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1326, allocations: 3.273 MB / 0.5846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.1326, allocations: 0 / 0.5846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1327, allocations: 11.92 kB / 0.5846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.1327, allocations: 0 / 0.5846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1331, allocations: 107.5 kB / 0.5847 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.1332, allocations: 39.86 kB / 0.5848 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.844e-05/0.1332, allocations: 3.984 kB / 0.5848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.1332, allocations: 15.98 kB / 0.5848 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.1333, allocations: 15.92 kB / 0.5848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1333, allocations: 4 kB / 0.5848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1335, allocations: 83.73 kB / 0.5849 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1335, allocations: 8 kB / 0.5849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.1336, allocations: 15.92 kB / 0.5849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1337, allocations: 72.06 kB / 0.585 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1337, allocations: 0 / 0.585 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1337, allocations: 0 / 0.585 GB, free: 3.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1338, allocations: 0 / 0.585 GB, free: 3.727 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.0003178/0.1341, allocations: 351.5 kB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1341, allocations: 8.031 kB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.1341, allocations: 34.75 kB / 0.5853 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.1342, allocations: 4.938 kB / 0.5853 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.1343, allocations: 172.3 kB / 0.5855 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1343, allocations: 4.312 kB / 0.5855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1344, allocations: 12.28 kB / 0.5855 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.1345, allocations: 53.61 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1345, allocations: 0 / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1345, allocations: 4 kB / 0.5856 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1345, allocations: 0 / 0.5856 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.1345, allocations: 19.97 kB / 0.5856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.1347, allocations: 161.7 kB / 0.5858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.1348, allocations: 58.44 kB / 0.5858 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.1348, allocations: 20.84 kB / 0.5858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.1354, allocations: 0.5909 MB / 0.5864 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.1354, allocations: 34.56 kB / 0.5864 GB, free: 1.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1354, allocations: 0 / 0.5864 GB, free: 1.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004705/0.1359, allocations: 314.3 kB / 0.5867 GB, free: 1.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.1359, allocations: 51.41 kB / 0.5868 GB, free: 1.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.136, allocations: 97.8 kB / 0.5869 GB, free: 1.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.136, allocations: 29.7 kB / 0.5869 GB, free: 1.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.1361, allocations: 88.05 kB / 0.587 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1361, allocations: 23.64 kB / 0.587 GB, free: 1.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1361, allocations: 37.64 kB / 0.5871 GB, free: 1.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.1362, allocations: 314.8 kB / 0.5874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.1363, allocations: 12 kB / 0.5874 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.1363, allocations: 53.14 kB / 0.5874 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.1364, allocations: 77.25 kB / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1364, allocations: 0 / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001174/0.1365, allocations: 93.45 kB / 0.5876 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1365, allocations: 10.03 kB / 0.5876 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1365, allocations: 0 / 0.5876 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1366, allocations: 4.125 kB / 0.5876 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.1366, allocations: 27.92 kB / 0.5876 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1366, allocations: 0 / 0.5876 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.1367, allocations: 11.94 kB / 0.5876 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1367, allocations: 4 kB / 0.5876 GB, free: 0.5742 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 6.439e-05/0.1368, allocations: 114.5 kB / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1368, allocations: 0 / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.1368, allocations: 11.97 kB / 0.5878 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1368, allocations: 0 / 0.5878 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1368, allocations: 4 kB / 0.5878 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1368, allocations: 11.81 kB / 0.5878 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.137, allocations: 173.7 kB / 0.5879 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1371, allocations: 0 / 0.5879 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.1371, allocations: 19.98 kB / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1371, allocations: 4 kB / 0.588 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1372, allocations: 0 / 0.588 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1372, allocations: 0 / 0.588 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1372, allocations: 80 / 0.588 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1373, allocations: 179.4 kB / 0.5881 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.1374, allocations: 85.05 kB / 0.5882 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1374, allocations: 4.031 kB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.1375, allocations: 4.25 kB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1375, allocations: 11.88 kB / 0.5882 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1375, allocations: 8 kB / 0.5882 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.1376, allocations: 83.27 kB / 0.5883 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1376, allocations: 0 / 0.5883 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.1378, allocations: 12 kB / 0.5883 GB, free: 15.77 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.0003443/0.1382, allocations: 0.7085 MB / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.503e-05/0.1383, allocations: 43.86 kB / 0.5891 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1383, allocations: 4 kB / 0.5891 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.1383, allocations: 16.25 kB / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1385, allocations: 15.92 kB / 0.5891 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1397, allocations: 1.512 MB / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.1399, allocations: 0.6885 MB / 0.5912 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.14, allocations: 4 kB / 0.5913 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.14, allocations: 15.44 kB / 0.5913 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.14, allocations: 0 / 0.5913 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.308/1.448, allocations: 1.604 MB / 0.5928 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.276/10.72, allocations: 4.281 kB / 0.5928 GB, free: 11.07 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)