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.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.0007564/0.0007564, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008179/0.0008179, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9615/0.9615, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.812/0.812, allocations: 203.8 MB / 0.5042 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [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.0009104/0.0009104, allocations: 62.81 kB / 0.7181 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5474, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001892/0.5493, allocations: 1.267 MB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.5523, allocations: 3.093 MB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.5523, allocations: 0 / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.5524, allocations: 1.172 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.5524, allocations: 11.19 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.5529, allocations: 101.6 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.553, allocations: 43.67 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.5531, allocations: 2.047 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.5531, allocations: 20.36 kB / 0.8222 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.5532, allocations: 13.75 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.5532, allocations: 2.406 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.5534, allocations: 70.92 kB / 0.8223 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.5534, allocations: 3.531 kB / 0.8223 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.5534, allocations: 18.23 kB / 0.8223 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.5536, allocations: 67.36 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5536, allocations: 10 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5536, allocations: 0 / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5536, allocations: 0 / 0.8224 GB, free: 13.87 MB / 0.6198 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.0003487/0.554, allocations: 266.5 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.554, allocations: 10.97 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.554, allocations: 35.73 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.5541, allocations: 6.062 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.631e-05/0.5542, allocations: 111.2 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5542, allocations: 4.375 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.5542, allocations: 13.45 kB / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5544, allocations: 133.7 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.5544, allocations: 0.8906 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5544, allocations: 3.984 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5544, allocations: 1.469 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.5544, allocations: 20.66 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.5546, allocations: 136.8 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.5547, allocations: 46.05 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.5547, allocations: 17.22 kB / 0.8231 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000475/0.5552, allocations: 247.2 kB / 0.8234 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.5552, allocations: 40.09 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.5552, allocations: 0 / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004882/0.5557, allocations: 227.2 kB / 0.8236 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.5557, allocations: 53.53 kB / 0.8237 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.5558, allocations: 103.9 kB / 0.8238 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.5558, allocations: 27.02 kB / 0.8238 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.5558, allocations: 89.5 kB / 0.8239 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.5558, allocations: 30.44 kB / 0.8239 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.5559, allocations: 27.42 kB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.5559, allocations: 322.2 kB / 0.8243 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.556, allocations: 10.05 kB / 0.8243 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.556, allocations: 53.64 kB / 0.8243 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.5561, allocations: 73.17 kB / 0.8244 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5561, allocations: 0 / 0.8244 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001142/0.5562, allocations: 95.2 kB / 0.8245 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5562, allocations: 10 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5562, allocations: 2.094 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5562, allocations: 2.344 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.5563, allocations: 23.16 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.5563, allocations: 2.078 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.5563, allocations: 5.875 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5563, allocations: 8.266 kB / 0.8245 GB, free: 11.78 MB / 0.6198 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 6.096e-05/0.5564, allocations: 118.7 kB / 0.8246 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.5564, allocations: 2.844 kB / 0.8246 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.5564, allocations: 8.672 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5564, allocations: 6.125 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5564, allocations: 0.6562 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5564, allocations: 5.25 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.5566, allocations: 146.8 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5566, allocations: 3.984 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.5567, allocations: 14.83 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.5567, allocations: 5.156 kB / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5567, allocations: 1.828 kB / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.5567, allocations: 0 / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5567, allocations: 0 / 0.8248 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.5568, allocations: 181 kB / 0.825 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.5568, allocations: 10.17 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.5569, allocations: 4.75 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.5569, allocations: 3.391 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.5569, allocations: 9.047 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.5569, allocations: 1.344 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.557, allocations: 83.72 kB / 0.8251 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.557, allocations: 0 / 0.8251 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001689/0.5571, allocations: 10.28 kB / 0.8251 GB, free: 11.22 MB / 0.6198 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.0003824/0.5575, allocations: 0.7136 MB / 0.8258 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.5577, allocations: 40.89 kB / 0.8259 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5577, allocations: 5.219 kB / 0.8259 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.5577, allocations: 15.14 kB / 0.8259 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.558, allocations: 12.38 kB / 0.8259 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5593, allocations: 1.528 MB / 0.8274 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.759e-05/0.5593, allocations: 72.09 kB / 0.8274 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.397e-05/0.5594, allocations: 11.39 kB / 0.8275 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.5594, allocations: 16.17 kB / 0.8275 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.5594, allocations: 5.188 kB / 0.8275 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.5787, allocations: 2.194 MB / 0.8296 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.46, allocations: 4.547 kB / 0.8296 GB, free: 8.098 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.530329089611769] Failed to read output from testmodel.py, exit status != 0: 7.5363978613168 7.549572884 6.993385427 Calling exit ...