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.0009035/0.0009035, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001097/0.001097, allocations: 221.7 kB / 22.26 MB, free: 3.688 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 1.043/1.043, allocations: 230.6 MB / 256 MB, free: 9.816 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.8065/0.8065, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001057/0.001057, allocations: 64.22 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6042, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001872/0.6061, allocations: 1.279 MB / 0.8191 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.6094, allocations: 3.37 MB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.6094, allocations: 0 / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.6094, allocations: 0.75 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.6095, allocations: 5.25 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.6101, allocations: 111.4 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.6102, allocations: 38.84 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.6102, allocations: 6.031 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.6103, allocations: 15.8 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.6104, allocations: 22.8 kB / 0.8226 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.6104, allocations: 3.812 kB / 0.8226 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.6106, allocations: 84.17 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.6106, allocations: 6.062 kB / 0.8227 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.6107, allocations: 17.94 kB / 0.8227 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.6108, allocations: 69.84 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6108, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6108, allocations: 4 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.6109, allocations: 0 / 0.8227 GB, free: 13.75 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.0003549/0.6112, allocations: 275.4 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.6113, allocations: 11.94 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.6113, allocations: 30.75 kB / 0.823 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.6114, allocations: 7.094 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.6114, allocations: 105 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.6114, allocations: 5.469 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.6115, allocations: 9.453 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.6116, allocations: 59.39 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6116, allocations: 0 / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.6116, allocations: 1.062 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.6116, allocations: 1.156 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.6117, allocations: 24.38 kB / 0.8232 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.6118, allocations: 138.5 kB / 0.8234 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.694e-05/0.6119, allocations: 50.92 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.6119, allocations: 25.31 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.6125, allocations: 255.1 kB / 0.8237 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.6125, allocations: 32.44 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6125, allocations: 0 / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005298/0.613, allocations: 231.3 kB / 0.8239 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.6131, allocations: 53.16 kB / 0.824 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.6131, allocations: 103.9 kB / 0.8241 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.6132, allocations: 26.98 kB / 0.8241 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.6132, allocations: 85.98 kB / 0.8242 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.6132, allocations: 28.97 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.6132, allocations: 27.47 kB / 0.8243 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.6133, allocations: 317.2 kB / 0.8246 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.6133, allocations: 13.84 kB / 0.8246 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/0.6134, allocations: 53.88 kB / 0.8246 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.6135, allocations: 75.92 kB / 0.8247 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6135, allocations: 1.125 kB / 0.8247 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001143/0.6136, allocations: 98.17 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6136, allocations: 5.188 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6136, allocations: 3.188 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6136, allocations: 2.031 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.6137, allocations: 18.92 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6137, allocations: 2.312 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.6137, allocations: 10.2 kB / 0.8248 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6137, allocations: 4.562 kB / 0.8248 GB, free: 11.75 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.911e-05/0.6138, allocations: 120.3 kB / 0.825 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.6138, allocations: 4.359 kB / 0.825 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.6138, allocations: 8.062 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6138, allocations: 2.188 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6139, allocations: 1.125 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6139, allocations: 3.938 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.614, allocations: 145.3 kB / 0.8251 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.614, allocations: 4 kB / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.6141, allocations: 16.55 kB / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6141, allocations: 0 / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.6141, allocations: 2.078 kB / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6141, allocations: 4 kB / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6141, allocations: 0 / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.6142, allocations: 181.6 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.6143, allocations: 11.25 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.6143, allocations: 7.938 kB / 0.8253 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.6143, allocations: 2.812 kB / 0.8253 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.6144, allocations: 12.19 kB / 0.8253 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.6144, allocations: 2.75 kB / 0.8253 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.6144, allocations: 82.38 kB / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6144, allocations: 0 / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001587/0.6146, allocations: 9.312 kB / 0.8254 GB, free: 11.18 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.0003553/0.6149, allocations: 0.7113 MB / 0.8261 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.615, allocations: 41.81 kB / 0.8262 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.615, allocations: 0 / 0.8262 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.615, allocations: 17.83 kB / 0.8262 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.6153, allocations: 11.38 kB / 0.8262 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.6165, allocations: 1.536 MB / 0.8277 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.6169, allocations: 0.6833 MB / 0.8284 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.6169, allocations: 13.45 kB / 0.8284 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.617, allocations: 11.59 kB / 0.8284 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.617, allocations: 0 / 0.8284 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.637, allocations: 1.811 MB / 0.8302 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/7.413, allocations: 12.91 kB / 0.8302 GB, free: 7.871 MB / 0.6198 GB " [Timeout remaining time 653] (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.615041601937264] Failed to read output from testmodel.py, exit status != 0: 7.491292584920302 7.509446849 6.895929022 Calling exit ...