Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008294/0.0008294, 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.0008219/0.0008219, allocations: 165.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.8746/0.8746, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7079/0.7079, allocations: 154.6 MB / 413.8 MB, free: 0.8203 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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.08e-05, allocations: 2.281 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002078/0.002099, allocations: 1.278 MB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.004932, allocations: 2.767 MB / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.004962, allocations: 0 / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.889e-05/0.004981, allocations: 0 / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.005025, allocations: 3.984 kB / 0.622 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.005507, allocations: 99.44 kB / 0.6221 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.005586, allocations: 47.83 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.005627, allocations: 8 kB / 0.6222 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.006044, allocations: 183.4 kB / 0.6223 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.00608, allocations: 19.91 kB / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.006095, allocations: 0 / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.006205, allocations: 63.77 kB / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.006217, allocations: 7.984 kB / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.006238, allocations: 11.98 kB / 0.6224 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.006378, allocations: 63.8 kB / 0.6225 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00638, allocations: 4 kB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006381, allocations: 4 kB / 0.6225 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.006385, allocations: 0 / 0.6225 GB, free: 9.152 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.0003317/0.006717, allocations: 266.3 kB / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.006755, allocations: 8.031 kB / 0.6228 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.006787, allocations: 34.75 kB / 0.6228 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.006816, allocations: 4.891 kB / 0.6228 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.388e-05/0.00689, allocations: 113.7 kB / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.006902, allocations: 384 / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.006923, allocations: 8.359 kB / 0.6229 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.007051, allocations: 139.3 kB / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.007058, allocations: 192 / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.007069, allocations: 11.92 kB / 0.6231 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.007074, allocations: 0 / 0.6231 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.007123, allocations: 15.98 kB / 0.6231 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.007248, allocations: 132.7 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.007318, allocations: 50.5 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.007339, allocations: 16.86 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004484/0.007788, allocations: 249.8 kB / 0.6235 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.007808, allocations: 34.56 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.007809, allocations: 0 / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004616/0.008271, allocations: 225.5 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.008302, allocations: 51.41 kB / 0.6238 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.008358, allocations: 101.8 kB / 0.6239 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.008369, allocations: 25.7 kB / 0.6239 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.008408, allocations: 96.03 kB / 0.624 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.008423, allocations: 27.75 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.008457, allocations: 25.7 kB / 0.6241 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003871/0.008844, allocations: 318.8 kB / 0.6244 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.008865, allocations: 19.98 kB / 0.6244 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.008906, allocations: 53.08 kB / 0.6244 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.008973, allocations: 69.53 kB / 0.6245 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008974, allocations: 0 / 0.6245 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001004/0.009074, allocations: 97.5 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.009088, allocations: 12.12 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009093, allocations: 0 / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.009107, allocations: 8 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.009156, allocations: 19.98 kB / 0.6246 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.009163, allocations: 3.938 kB / 0.6246 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.009185, allocations: 7.938 kB / 0.6246 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.009191, allocations: 4 kB / 0.6246 GB, free: 6.652 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 6.175e-05/0.009253, allocations: 118.8 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.009267, allocations: 0 / 0.6248 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.009296, allocations: 16.11 kB / 0.6248 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009298, allocations: 4 kB / 0.6248 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.009303, allocations: 288 / 0.6248 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.009307, allocations: 0 / 0.6248 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.009462, allocations: 144.7 kB / 0.6249 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009463, allocations: 0 / 0.6249 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.009512, allocations: 23.91 kB / 0.6249 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.009513, allocations: 4 kB / 0.6249 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.009521, allocations: 0 / 0.6249 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009522, allocations: 0 / 0.6249 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.009522, allocations: 0 / 0.6249 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.009666, allocations: 179.4 kB / 0.6251 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.009687, allocations: 7.953 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.009698, allocations: 4 kB / 0.6251 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.009755, allocations: 8.031 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.009769, allocations: 4 kB / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.009773, allocations: 0 / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.009797, allocations: 79.28 kB / 0.6252 GB, free: 6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009797, allocations: 0 / 0.6252 GB, free: 6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001599/0.009957, allocations: 19.98 kB / 0.6252 GB, free: 5.98 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.0003038/0.01026, allocations: 0.7125 MB / 0.6259 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.01034, allocations: 43.91 kB / 0.626 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01035, allocations: 0 / 0.626 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.01036, allocations: 15.94 kB / 0.626 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01055, allocations: 4 kB / 0.626 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.01146, allocations: 1.476 MB / 0.6274 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.0115, allocations: 67.34 kB / 0.6275 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.01153, allocations: 8.047 kB / 0.6275 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.01156, allocations: 12.5 kB / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.01156, allocations: 4 kB / 0.6275 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.02658, allocations: 2.338 MB / 0.6298 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.063, allocations: 5.75 kB / 0.6298 GB, free: 1.297 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.9064120054245] Failed to read output from testmodel.py, exit status != 0: 7.142739865928888 7.153515768 7.145423595 Calling exit ...