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.0009162/0.0009162, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001582/0.001582, allocations: 208.1 kB / 22.25 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.9811/0.9811, allocations: 230.6 MB / 256 MB, free: 9.605 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.801/0.801, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009821/0.0009821, allocations: 66.34 kB / 0.7181 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.5875, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001839/0.5893, allocations: 1.277 MB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.5922, allocations: 3.092 MB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.5922, allocations: 3.094 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.5923, allocations: 4.594 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.5923, allocations: 5.109 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.5928, allocations: 107.3 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.735e-05/0.5929, allocations: 39.03 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.5929, allocations: 2.75 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.593, allocations: 20.86 kB / 0.8222 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.593, allocations: 16.44 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5931, allocations: 2.656 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.5933, allocations: 66.25 kB / 0.8223 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.5933, allocations: 3.609 kB / 0.8223 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.5933, allocations: 19.67 kB / 0.8223 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.5935, allocations: 62.34 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5935, allocations: 4 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5935, allocations: 5.062 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5935, 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.0003735/0.5939, allocations: 266.9 kB / 0.8226 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5939, allocations: 9.625 kB / 0.8226 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.594, allocations: 37.12 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.594, allocations: 10.11 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.5941, allocations: 105 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.5941, allocations: 5.828 kB / 0.8228 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.5942, allocations: 12.55 kB / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5943, allocations: 135.2 kB / 0.8229 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5943, allocations: 0 / 0.8229 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5943, allocations: 5.375 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.5943, allocations: 1.25 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.5944, allocations: 14.56 kB / 0.8229 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.5945, allocations: 132.6 kB / 0.8231 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.5946, allocations: 55.44 kB / 0.8231 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.5947, allocations: 17.19 kB / 0.8231 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/0.5952, allocations: 245.8 kB / 0.8234 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.5952, allocations: 36.81 kB / 0.8234 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.5952, allocations: 4 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004604/0.5956, allocations: 227.8 kB / 0.8236 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.5957, allocations: 53.44 kB / 0.8237 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.5957, allocations: 104.4 kB / 0.8238 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.5958, allocations: 30.83 kB / 0.8238 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.5958, allocations: 85.84 kB / 0.8239 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.5958, allocations: 29.38 kB / 0.8239 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.5958, allocations: 27.66 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.5959, allocations: 319 kB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.596, allocations: 16.23 kB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.596, allocations: 52.58 kB / 0.8243 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.815e-05/0.5961, allocations: 68.62 kB / 0.8244 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5961, allocations: 0 / 0.8244 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001051/0.5962, allocations: 103.7 kB / 0.8245 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5962, allocations: 5.656 kB / 0.8245 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5962, allocations: 6.531 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5962, allocations: 1.469 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.5963, allocations: 27.67 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5963, allocations: 1.5 kB / 0.8245 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.5963, allocations: 10.25 kB / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.5963, allocations: 4.312 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.544e-05/0.5964, allocations: 120.1 kB / 0.8247 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.5964, allocations: 2.469 kB / 0.8247 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.5964, allocations: 9.344 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5964, allocations: 4 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5964, allocations: 1.312 kB / 0.8247 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5964, allocations: 3.938 kB / 0.8247 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.5966, allocations: 147.1 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5966, allocations: 1.438 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.5966, allocations: 15.47 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5966, allocations: 1.438 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.5966, allocations: 0 / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5966, allocations: 1.281 kB / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5966, allocations: 0 / 0.8248 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.5968, allocations: 177 kB / 0.825 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.5968, allocations: 9.953 kB / 0.825 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.5968, allocations: 4 kB / 0.825 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.5969, allocations: 2.438 kB / 0.825 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.5969, allocations: 9.094 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.5969, allocations: 2.5 kB / 0.825 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.5969, allocations: 79.27 kB / 0.8251 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5969, allocations: 1 kB / 0.8251 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000155/0.5971, allocations: 13.91 kB / 0.8251 GB, free: 11.23 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.0003036/0.5974, allocations: 0.7145 MB / 0.8258 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.545e-05/0.5975, allocations: 36.89 kB / 0.8259 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5975, allocations: 1.156 kB / 0.8259 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.5975, allocations: 15.11 kB / 0.8259 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.5977, allocations: 12.73 kB / 0.8259 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.5988, allocations: 1.539 MB / 0.8274 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.5988, allocations: 68.08 kB / 0.8274 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.5988, allocations: 13.3 kB / 0.8275 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.5989, allocations: 15.62 kB / 0.8275 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.5989, allocations: 0 / 0.8275 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.6134, allocations: 2.19 MB / 0.8296 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/7.255, allocations: 10.3 kB / 0.8296 GB, free: 8.105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.252689612098038] Failed to read output from testmodel.py, exit status != 0: 7.335222399793565 7.349871772 6.754197571 Calling exit ...