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.00124/0.00124, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001687/0.001687, allocations: 214.4 kB / 22.25 MB, free: 5.129 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.008 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.9284/0.9284, allocations: 134 MB / 446.4 MB, free: 10.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",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.001983/0.001983, allocations: 78.19 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1991, allocations: 85.91 MB / 0.7024 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002822/0.202, allocations: 1.29 MB / 0.7037 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2068, allocations: 3.363 MB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.2068, allocations: 0 / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.2068, allocations: 3.984 kB / 0.707 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.2069, allocations: 7.922 kB / 0.707 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.2076, allocations: 111.5 kB / 0.7071 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2077, allocations: 31.86 kB / 0.7071 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.2077, allocations: 4 kB / 0.7071 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.2078, allocations: 23.91 kB / 0.7071 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.2079, allocations: 19.92 kB / 0.7071 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2079, allocations: 3.938 kB / 0.7072 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.2082, allocations: 83.8 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.2082, allocations: 7.984 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.2083, allocations: 11.94 kB / 0.7073 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2085, allocations: 76.06 kB / 0.7073 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2085, allocations: 0 / 0.7073 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2085, allocations: 3.938 kB / 0.7073 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2085, allocations: 0 / 0.7073 GB, free: 12.37 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.0005095/0.209, allocations: 270.3 kB / 0.7076 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.2091, allocations: 8.031 kB / 0.7076 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.2091, allocations: 38.73 kB / 0.7076 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.2093, allocations: 4.938 kB / 0.7076 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2094, allocations: 114.5 kB / 0.7077 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2094, allocations: 384 / 0.7077 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.2095, allocations: 12.33 kB / 0.7078 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.2096, allocations: 57.59 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2096, allocations: 0 / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.2097, allocations: 8 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2097, allocations: 0 / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.2097, allocations: 15.92 kB / 0.7078 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.21, allocations: 136.7 kB / 0.708 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.2101, allocations: 54.55 kB / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.2101, allocations: 16.84 kB / 0.708 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000665/0.2108, allocations: 246.1 kB / 0.7083 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.2108, allocations: 46.44 kB / 0.7083 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.2108, allocations: 0 / 0.7083 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006663/0.2115, allocations: 225.6 kB / 0.7085 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2116, allocations: 51.41 kB / 0.7086 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.2117, allocations: 97.8 kB / 0.7087 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2117, allocations: 33.7 kB / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.2117, allocations: 88.08 kB / 0.7088 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2118, allocations: 27.75 kB / 0.7088 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.2118, allocations: 33.7 kB / 0.7088 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.212, allocations: 310.8 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.212, allocations: 15.98 kB / 0.7092 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.2121, allocations: 53.14 kB / 0.7092 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2122, allocations: 77.03 kB / 0.7093 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2122, allocations: 4 kB / 0.7093 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001495/0.2124, allocations: 93.5 kB / 0.7094 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2124, allocations: 4 kB / 0.7094 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2124, allocations: 4 kB / 0.7094 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2124, allocations: 4.062 kB / 0.7094 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.2125, allocations: 23.98 kB / 0.7094 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2125, allocations: 4 kB / 0.7094 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.2125, allocations: 7.938 kB / 0.7094 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2125, allocations: 4 kB / 0.7094 GB, free: 9.945 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.0001049/0.2126, allocations: 117.8 kB / 0.7095 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.2127, allocations: 4 kB / 0.7095 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.2127, allocations: 8.062 kB / 0.7095 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2127, allocations: 0 / 0.7095 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2127, allocations: 7.984 kB / 0.7096 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2127, allocations: 7.938 kB / 0.7096 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.213, allocations: 148.8 kB / 0.7097 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.213, allocations: 3.938 kB / 0.7097 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.2131, allocations: 12 kB / 0.7097 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2131, allocations: 0 / 0.7097 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2131, allocations: 0 / 0.7097 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2131, allocations: 0 / 0.7097 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2131, allocations: 4 kB / 0.7097 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.2133, allocations: 183.7 kB / 0.7099 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.2133, allocations: 8.125 kB / 0.7099 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2133, allocations: 3.984 kB / 0.7099 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2134, allocations: 8 kB / 0.7099 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.2135, allocations: 3.938 kB / 0.7099 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2135, allocations: 7.984 kB / 0.7099 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.2135, allocations: 75.28 kB / 0.71 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2135, allocations: 0 / 0.71 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002408/0.2137, allocations: 16 kB / 0.71 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.0005406/0.2143, allocations: 0.7085 MB / 0.7107 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2144, allocations: 35.97 kB / 0.7107 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2144, allocations: 256 / 0.7107 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.2144, allocations: 27.92 kB / 0.7108 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2148, allocations: 15.33 kB / 0.7108 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.2166, allocations: 1.528 MB / 0.7123 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.217, allocations: 0.6807 MB / 0.7129 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.217, allocations: 11.98 kB / 0.713 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.2171, allocations: 15.44 kB / 0.713 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2171, allocations: 0 / 0.713 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.2466, allocations: 1.809 MB / 0.7147 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.26, allocations: 1.969 kB / 0.7147 GB, free: 4.41 MB / 0.5294 GB " [Timeout remaining time 649] (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.13399103609845] Failed to read output from testmodel.py, exit status != 0: 11.369492306141183 11.387889946 11.175850665 Calling exit ...