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.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001376/0.001376, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8509/0.8509, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.95 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1308, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001958/0.1328, allocations: 1.313 MB / 0.5851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1358, allocations: 3.242 MB / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.1359, allocations: 4 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.1359, allocations: 0 / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.136, allocations: 11.91 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1363, allocations: 99.59 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.1364, allocations: 27.92 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.575e-05/0.1364, allocations: 4 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.1365, allocations: 23.91 kB / 0.5884 GB, free: 160 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.1365, allocations: 15.98 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1365, allocations: 0 / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1367, allocations: 79.73 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.1367, allocations: 11.94 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.1368, allocations: 23.97 kB / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1369, allocations: 56.19 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1369, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.51e-07/0.137, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.137, allocations: 0 / 0.5886 GB, free: 15.96 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.0003196/0.1373, allocations: 347.5 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1373, allocations: 11.97 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.1374, allocations: 38.75 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.1374, allocations: 4.938 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.1375, allocations: 176.2 kB / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1375, allocations: 384 / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1376, allocations: 8.375 kB / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1377, allocations: 61.58 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.1377, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1377, allocations: 4 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1377, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.1378, allocations: 15.98 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1379, allocations: 169.6 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.138, allocations: 58.48 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.138, allocations: 16.86 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.1386, allocations: 0.5871 MB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1386, allocations: 38.56 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1386, allocations: 4 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004717/0.1391, allocations: 298.1 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1392, allocations: 51.41 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.1392, allocations: 105.7 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1392, allocations: 37.64 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.1393, allocations: 84.05 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1393, allocations: 23.66 kB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1393, allocations: 33.7 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.1394, allocations: 310.8 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.1395, allocations: 15.98 kB / 0.591 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.1395, allocations: 53.52 kB / 0.591 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.1396, allocations: 73.09 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1396, allocations: 4 kB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001183/0.1397, allocations: 97.67 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1397, allocations: 4 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1398, allocations: 8.125 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1398, allocations: 4 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.1398, allocations: 23.92 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1399, allocations: 4 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.1399, allocations: 7.938 kB / 0.5913 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1399, allocations: 4 kB / 0.5913 GB, free: 12.81 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.029e-05/0.14, allocations: 113.8 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.14, allocations: 4 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.14, allocations: 11.91 kB / 0.5914 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1401, allocations: 7.984 kB / 0.5914 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1401, allocations: 0 / 0.5914 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1401, allocations: 3.938 kB / 0.5914 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1403, allocations: 173.7 kB / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1403, allocations: 0 / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.1404, allocations: 16 kB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1404, allocations: 0 / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1404, allocations: 4 kB / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1404, allocations: 0 / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.1404, allocations: 0 / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.1406, allocations: 179.4 kB / 0.5918 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.1406, allocations: 85.08 kB / 0.5918 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1406, allocations: 4 kB / 0.5918 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.1407, allocations: 0 / 0.5918 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1407, allocations: 11.94 kB / 0.5919 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1408, allocations: 3.984 kB / 0.5919 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.1408, allocations: 79.28 kB / 0.5919 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1408, allocations: 0 / 0.5919 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002229/0.141, allocations: 20 kB / 0.592 GB, free: 12.01 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.000349/0.1414, allocations: 0.7084 MB / 0.5926 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.1415, allocations: 43.91 kB / 0.5927 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1415, allocations: 4.25 kB / 0.5927 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.1415, allocations: 19.98 kB / 0.5927 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1418, allocations: 9.906 kB / 0.5927 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1429, allocations: 1.533 MB / 0.5942 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1432, allocations: 0.6848 MB / 0.5949 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.1432, allocations: 4 kB / 0.5949 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1432, allocations: 11.44 kB / 0.5949 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1432, allocations: 0 / 0.5949 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/0.2907, allocations: 1.503 MB / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.291, allocations: 183.6 kB / 0.5965 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.252, allocations: 0 / 0.5965 GB, free: 7.172 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)