Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.0007412/0.0007412, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008253/0.0008253, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.925/0.925, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7401/0.7401, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.659e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005354/0.00538, allocations: 4.225 MB / 0.6223 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.007535, allocations: 2.445 MB / 0.6246 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.007638, allocations: 0 / 0.6246 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.007963, allocations: 51.61 kB / 0.6247 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.00826, allocations: 99.25 kB / 0.6248 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.009427, allocations: 0.5192 MB / 0.6253 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.009691, allocations: 247.8 kB / 0.6255 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.009745, allocations: 13.81 kB / 0.6255 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009613/0.01071, allocations: 0.5286 MB / 0.6261 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.01082, allocations: 71.83 kB / 0.6261 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.01084, allocations: 8 kB / 0.6261 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008215/0.01166, allocations: 486.8 kB / 0.6266 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.01175, allocations: 39.83 kB / 0.6266 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.01181, allocations: 59.89 kB / 0.6267 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.01239, allocations: 366.9 kB / 0.627 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.0124, allocations: 0 / 0.627 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.284e-06/0.0124, allocations: 4 kB / 0.627 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.01241, allocations: 0 / 0.627 GB, free: 4.461 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007702/0.01318, allocations: 445.4 kB / 0.6275 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01322, allocations: 8.031 kB / 0.6275 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.01327, allocations: 58.67 kB / 0.6275 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.0134, allocations: 20.84 kB / 0.6276 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.01369, allocations: 157.5 kB / 0.6277 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.01371, allocations: 16.7 kB / 0.6277 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.01372, allocations: 16.38 kB / 0.6277 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.01407, allocations: 464.1 kB / 0.6282 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.01409, allocations: 4.125 kB / 0.6282 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.01411, allocations: 15.94 kB / 0.6282 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.01414, allocations: 4 kB / 0.6282 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.01446, allocations: 419.5 kB / 0.6286 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.01528, allocations: 0.8635 MB / 0.6294 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.01593, allocations: 155.4 kB / 0.6296 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.016, allocations: 52.88 kB / 0.6296 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/0.01652, allocations: 447.9 kB / 0.6301 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01655, allocations: 38.56 kB / 0.6301 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.01655, allocations: 0 / 0.6301 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002673/0.01681, allocations: 141.5 kB / 0.6302 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.01685, allocations: 55.34 kB / 0.6303 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.01701, allocations: 185.4 kB / 0.6305 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.01704, allocations: 25.7 kB / 0.6305 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.01712, allocations: 144.2 kB / 0.6306 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.01715, allocations: 63.48 kB / 0.6307 GB, free: 448 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.0172, allocations: 49.7 kB / 0.6307 GB, free: 392 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.01729, allocations: 322.8 kB / 0.631 GB, free: 60 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.01734, allocations: 35.97 kB / 0.6311 GB, free: 24 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01744, allocations: 137.7 kB / 0.6312 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.0176, allocations: 200.4 kB / 0.6314 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01761, allocations: 0 / 0.6314 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002197/0.01783, allocations: 217.2 kB / 0.6316 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01784, allocations: 8 kB / 0.6316 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.01785, allocations: 4 kB / 0.6316 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.01787, allocations: 8 kB / 0.6316 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.018, allocations: 59.91 kB / 0.6317 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.01801, allocations: 8.406 kB / 0.6317 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.01807, allocations: 39.72 kB / 0.6317 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01809, allocations: 8 kB / 0.6317 GB, free: 15.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.453e-05/0.01817, allocations: 133.8 kB / 0.6319 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.0182, allocations: 15.91 kB / 0.6319 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.01843, allocations: 158.8 kB / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.01844, allocations: 4 kB / 0.632 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01845, allocations: 0 / 0.632 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01845, allocations: 3.938 kB / 0.632 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01862, allocations: 176.6 kB / 0.6322 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01862, allocations: 0 / 0.6322 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.01868, allocations: 39.92 kB / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01869, allocations: 0 / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.0187, allocations: 8 kB / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0187, allocations: 0 / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0187, allocations: 0 / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.01887, allocations: 218 kB / 0.6325 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.01891, allocations: 35.81 kB / 0.6325 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.01893, allocations: 7.984 kB / 0.6325 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01904, allocations: 11.98 kB / 0.6325 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.01906, allocations: 15.98 kB / 0.6325 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01908, allocations: 23.8 kB / 0.6326 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.01914, allocations: 124.9 kB / 0.6327 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01914, allocations: 0 / 0.6327 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002828/0.01942, allocations: 71.88 kB / 0.6327 GB, free: 14.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006378/0.02006, allocations: 0.8294 MB / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.02026, allocations: 122 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.02026, allocations: 4 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.02031, allocations: 39.92 kB / 0.6337 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.02063, allocations: 60.61 kB / 0.6338 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.02233, allocations: 2.016 MB / 0.6357 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.256e-05/0.0224, allocations: 103.2 kB / 0.6358 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000119/0.02252, allocations: 49.73 kB / 0.6359 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.02258, allocations: 44.48 kB / 0.6359 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/0.02258, allocations: 0 / 0.6359 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.04531, allocations: 6.123 MB / 0.6419 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.089, allocations: 10.95 kB / 0.6419 GB, free: 4.773 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.890310494229198] Failed to read output from testmodel.py, exit status != 0: 7.171003527007997 7.18066631 7.166431609 Calling exit ...