Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001308/0.001308, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001454/0.001454, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9092/0.9092, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.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.7379/0.7379, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.01e-05, allocations: 5.453 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001857/0.001877, allocations: 1.263 MB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.005478, allocations: 2.763 MB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.00553, allocations: 0 / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.005557, allocations: 3.984 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.005624, allocations: 0 / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.006317, allocations: 115.3 kB / 0.6221 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.006411, allocations: 27.92 kB / 0.6221 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.006461, allocations: 7.938 kB / 0.6221 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.007055, allocations: 187.4 kB / 0.6223 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.007114, allocations: 19.97 kB / 0.6223 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.007131, allocations: 0 / 0.6223 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.007293, allocations: 59.78 kB / 0.6223 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.00731, allocations: 11.97 kB / 0.6224 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.007342, allocations: 15.94 kB / 0.6224 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.007508, allocations: 59.84 kB / 0.6224 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.007516, allocations: 0 / 0.6224 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.273e-06/0.007517, allocations: 0 / 0.6224 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.007523, allocations: 4 kB / 0.6224 GB, free: 9.219 MB / 0.5886 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.0004314/0.007954, allocations: 270.3 kB / 0.6227 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.008007, allocations: 9.469 kB / 0.6227 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.008051, allocations: 42.73 kB / 0.6227 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.008089, allocations: 4.891 kB / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/0.008175, allocations: 109.8 kB / 0.6229 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.008187, allocations: 384 / 0.6229 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.008215, allocations: 16.3 kB / 0.6229 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.008388, allocations: 135.3 kB / 0.623 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.008398, allocations: 192 / 0.623 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.008412, allocations: 11.94 kB / 0.623 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.008419, allocations: 0 / 0.623 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/0.008477, allocations: 11.98 kB / 0.623 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.008655, allocations: 132.8 kB / 0.6231 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.008748, allocations: 46.56 kB / 0.6232 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.008775, allocations: 16.84 kB / 0.6232 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.009342, allocations: 254 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.009366, allocations: 30.56 kB / 0.6235 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.009367, allocations: 0 / 0.6235 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005717/0.009939, allocations: 225.2 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.009977, allocations: 51.41 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.01005, allocations: 105.8 kB / 0.6238 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.01007, allocations: 29.7 kB / 0.6239 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.01011, allocations: 92.03 kB / 0.624 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.01013, allocations: 23.84 kB / 0.624 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.01017, allocations: 29.67 kB / 0.624 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01027, allocations: 322.8 kB / 0.6243 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.01029, allocations: 12 kB / 0.6243 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.01034, allocations: 53.08 kB / 0.6244 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.01079, allocations: 77.08 kB / 0.6245 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01079, allocations: 3.938 kB / 0.6245 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001117/0.01091, allocations: 93.55 kB / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01092, allocations: 8 kB / 0.6246 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01093, allocations: 448 / 0.6246 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01095, allocations: 4 kB / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.01101, allocations: 16 kB / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01101, allocations: 4.016 kB / 0.6246 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.01104, allocations: 15.98 kB / 0.6246 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.01105, allocations: 8.266 kB / 0.6246 GB, free: 6.707 MB / 0.5886 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 7.94e-05/0.01113, allocations: 122.8 kB / 0.6247 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.01114, allocations: 4 kB / 0.6247 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.01118, allocations: 12.11 kB / 0.6247 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01118, allocations: 4 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.01118, allocations: 0 / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01119, allocations: 0 / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.01137, allocations: 148.7 kB / 0.6249 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01137, allocations: 0 / 0.6249 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.01142, allocations: 15.94 kB / 0.6249 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01142, allocations: 4 kB / 0.6249 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01143, allocations: 4 kB / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01143, allocations: 4 kB / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01143, allocations: 0 / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.0116, allocations: 171.4 kB / 0.6251 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.01163, allocations: 11.98 kB / 0.6251 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01164, allocations: 4 kB / 0.6251 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.0117, allocations: 0 / 0.6251 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.01172, allocations: 7.984 kB / 0.6251 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.01172, allocations: 0 / 0.6251 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.01176, allocations: 87.22 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 0 / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001676/0.01192, allocations: 12 kB / 0.6252 GB, free: 6.039 MB / 0.5886 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.0003675/0.01229, allocations: 0.7124 MB / 0.6259 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.01241, allocations: 35.97 kB / 0.6259 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01241, allocations: 0 / 0.6259 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.01243, allocations: 19.92 kB / 0.6259 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01266, allocations: 10.41 kB / 0.6259 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.01375, allocations: 1.464 MB / 0.6274 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.0138, allocations: 71.33 kB / 0.6274 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.01384, allocations: 8 kB / 0.6274 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.01388, allocations: 16.5 kB / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of SimCode: time 7.82e-07/0.01388, allocations: 0 / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.0348, allocations: 2.34 MB / 0.6298 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.315, allocations: 1.719 kB / 0.6298 GB, free: 1.355 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.174229773692787] Failed to read output from testmodel.py, exit status != 0: 7.396237816661596 7.406317769 7.396790217 Calling exit ...