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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 218.4 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.894/0.894, allocations: 134 MB / 447.2 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.16 kB / 0.6192 GB, free: 7.023 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1962, allocations: 85.91 MB / 0.7031 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.003453/0.1996, allocations: 1.275 MB / 0.7044 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00442/0.2041, allocations: 3.094 MB / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.2041, allocations: 0 / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.2041, allocations: 0 / 0.7074 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.2042, allocations: 11.91 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.2048, allocations: 99.55 kB / 0.7075 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.2049, allocations: 43.84 kB / 0.7075 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.2049, allocations: 4 kB / 0.7075 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.205, allocations: 19.92 kB / 0.7075 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.2051, allocations: 15.97 kB / 0.7076 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2051, allocations: 0 / 0.7076 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.2053, allocations: 67.83 kB / 0.7076 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.2053, allocations: 11.94 kB / 0.7076 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.2053, allocations: 15.97 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2055, allocations: 60.09 kB / 0.7077 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2055, allocations: 0 / 0.7077 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2055, allocations: 4 kB / 0.7077 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2056, allocations: 3.938 kB / 0.7077 GB, free: 12.46 MB / 0.5294 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.0004469/0.206, allocations: 274.3 kB / 0.708 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.2061, allocations: 11.97 kB / 0.708 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.2061, allocations: 192 / 0.708 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.2061, allocations: 42.69 kB / 0.708 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2062, allocations: 4.938 kB / 0.708 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2063, allocations: 106.5 kB / 0.7081 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2063, allocations: 4.375 kB / 0.7081 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.2064, allocations: 16.08 kB / 0.7082 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2065, allocations: 134.8 kB / 0.7083 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2066, allocations: 0 / 0.7083 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2066, allocations: 3.984 kB / 0.7083 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2066, allocations: 0 / 0.7083 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.2066, allocations: 23.92 kB / 0.7083 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.2068, allocations: 132.8 kB / 0.7084 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2069, allocations: 46.56 kB / 0.7085 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.207, allocations: 12.8 kB / 0.7085 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.2076, allocations: 246.1 kB / 0.7087 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.2076, allocations: 38.5 kB / 0.7088 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2076, allocations: 4 kB / 0.7088 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006555/0.2083, allocations: 225.6 kB / 0.709 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.2083, allocations: 55.41 kB / 0.709 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.2084, allocations: 101.8 kB / 0.7091 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2085, allocations: 29.7 kB / 0.7092 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.2085, allocations: 84.09 kB / 0.7092 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2085, allocations: 27.75 kB / 0.7093 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.2086, allocations: 29.7 kB / 0.7093 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2088, allocations: 310.8 kB / 0.7096 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.2088, allocations: 19.98 kB / 0.7096 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.2089, allocations: 62.17 kB / 0.7097 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.209, allocations: 73.03 kB / 0.7097 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.209, allocations: 4 kB / 0.7097 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000162/0.2091, allocations: 97.72 kB / 0.7098 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2091, allocations: 8.125 kB / 0.7098 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2092, allocations: 4 kB / 0.7099 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2092, allocations: 0 / 0.7099 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.2093, allocations: 19.98 kB / 0.7099 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2093, allocations: 7.938 kB / 0.7099 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.2093, allocations: 4 kB / 0.7099 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2093, allocations: 4 kB / 0.7099 GB, free: 9.941 MB / 0.5294 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 0.0001037/0.2094, allocations: 117.8 kB / 0.71 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.2095, allocations: 4 kB / 0.71 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.2095, allocations: 12.05 kB / 0.71 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2095, allocations: 7.938 kB / 0.71 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2095, allocations: 3.938 kB / 0.71 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2095, allocations: 4 kB / 0.71 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.2098, allocations: 140.8 kB / 0.7102 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2098, allocations: 0 / 0.7102 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.2099, allocations: 19.98 kB / 0.7102 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2099, allocations: 0 / 0.7102 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2099, allocations: 0 / 0.7102 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2099, allocations: 4 kB / 0.7102 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2099, allocations: 3.938 kB / 0.7102 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2101, allocations: 171.4 kB / 0.7104 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.2101, allocations: 8 kB / 0.7104 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2102, allocations: 0 / 0.7104 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2103, allocations: 12.03 kB / 0.7104 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2103, allocations: 3.938 kB / 0.7104 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2103, allocations: 4 kB / 0.7104 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.2103, allocations: 83.27 kB / 0.7105 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2103, allocations: 0 / 0.7105 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002459/0.2106, allocations: 12 kB / 0.7105 GB, free: 9.262 MB / 0.5294 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.0005635/0.2112, allocations: 0.7165 MB / 0.7112 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.2113, allocations: 39.86 kB / 0.7112 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2113, allocations: 0 / 0.7112 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.2113, allocations: 19.94 kB / 0.7112 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2116, allocations: 14.75 kB / 0.7112 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.2133, allocations: 1.532 MB / 0.7127 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.152e-05/0.2134, allocations: 71.34 kB / 0.7128 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.2134, allocations: 4 kB / 0.7128 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.2135, allocations: 15.44 kB / 0.7128 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/0.2135, allocations: 0 / 0.7128 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2376, allocations: 1.864 MB / 0.7146 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.7, allocations: 13.94 kB / 0.7147 GB, free: 4.984 MB / 0.5294 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.567781781079248] Failed to read output from testmodel.py, exit status != 0: 11.860584861016832 11.876847892 11.668324714 Calling exit ...