Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001345/0.001345, 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.001261/0.001261, 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.914/0.914, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6898/0.6898, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/2.004e-05, allocations: 4.75 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003905/0.003925, allocations: 3.898 MB / 0.6219 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.004048, allocations: 135.5 kB / 0.622 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.004071, allocations: 0 / 0.622 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.899e-05/0.004169, allocations: 11.88 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.004245, allocations: 11.97 kB / 0.622 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.004523, allocations: 94.48 kB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.004599, allocations: 35.84 kB / 0.6222 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.004634, allocations: 0 / 0.6222 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.004683, allocations: 19.98 kB / 0.6222 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.00475, allocations: 19.91 kB / 0.6222 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.004762, allocations: 0 / 0.6222 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.004906, allocations: 47.81 kB / 0.6222 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.004951, allocations: 11.92 kB / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.004969, allocations: 8 kB / 0.6223 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.005087, allocations: 63.84 kB / 0.6223 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005089, allocations: 4 kB / 0.6223 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00509, allocations: 0 / 0.6223 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.005093, allocations: 0 / 0.6223 GB, free: 9.289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003042/0.005397, allocations: 262.3 kB / 0.6226 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.005431, allocations: 8.031 kB / 0.6226 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.005459, allocations: 30.75 kB / 0.6226 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.005487, allocations: 8.875 kB / 0.6226 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.0057, allocations: 121.6 kB / 0.6227 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.005757, allocations: 55.97 kB / 0.6228 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.005763, allocations: 384 / 0.6228 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005872, allocations: 67.95 kB / 0.6229 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.00588, allocations: 3.938 kB / 0.6229 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005889, allocations: 0 / 0.6229 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.005905, allocations: 4 kB / 0.6229 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.005941, allocations: 15.98 kB / 0.6229 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.006273, allocations: 224 kB / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.006311, allocations: 22.52 kB / 0.6231 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.006324, allocations: 4.859 kB / 0.6231 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.006366, allocations: 11.98 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.006389, allocations: 42.56 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.00639, allocations: 0 / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.006508, allocations: 33.64 kB / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.006537, allocations: 55.41 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.006601, allocations: 101.8 kB / 0.6233 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.006612, allocations: 25.7 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.006649, allocations: 88.09 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.006654, allocations: 3.953 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.006678, allocations: 21.7 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.006743, allocations: 310.8 kB / 0.6238 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.006754, allocations: 4.125 kB / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.006771, allocations: 25.7 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.006797, allocations: 21.66 kB / 0.6238 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006798, allocations: 3.938 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.569e-05/0.006844, allocations: 45.69 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.006855, allocations: 4 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006859, allocations: 0 / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.006869, allocations: 4 kB / 0.6239 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.006903, allocations: 4.062 kB / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.006907, allocations: 4 kB / 0.6239 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.006918, allocations: 3.938 kB / 0.6239 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.006927, allocations: 4 kB / 0.6239 GB, free: 7.453 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.963e-05/0.006976, allocations: 114.8 kB / 0.624 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.00699, allocations: 15.88 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.007218, allocations: 117.2 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.007258, allocations: 184.2 kB / 0.6243 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.163e-05/0.0073, allocations: 180.3 kB / 0.6245 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-05/0.007338, allocations: 192.2 kB / 0.6247 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.007467, allocations: 380.2 kB / 0.625 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.00749, allocations: 105 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.007512, allocations: 108.9 kB / 0.6252 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-05/0.007549, allocations: 180.3 kB / 0.6254 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.007588, allocations: 176.3 kB / 0.6256 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.765e-05/0.007626, allocations: 180.2 kB / 0.6257 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-05/0.007663, allocations: 180.3 kB / 0.6259 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.007783, allocations: 311.7 kB / 0.6262 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.007808, allocations: 104.9 kB / 0.6263 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.007852, allocations: 188.1 kB / 0.6265 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.007938, allocations: 113 kB / 0.6266 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.007979, allocations: 180.2 kB / 0.6268 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.008002, allocations: 109 kB / 0.6269 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.008035, allocations: 87.27 kB / 0.627 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008035, allocations: 0 / 0.627 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00016/0.008195, allocations: 12 kB / 0.627 GB, free: 4.109 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.0003625/0.008558, allocations: 0.8323 MB / 0.6278 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.425e-05/0.008612, allocations: 4 kB / 0.6278 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008614, allocations: 0 / 0.6278 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.008615, allocations: 4.125 kB / 0.6278 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.008893, allocations: 463.7 kB / 0.6282 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.009686, allocations: 1.327 MB / 0.6295 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.009722, allocations: 59.36 kB / 0.6296 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.00975, allocations: 7.984 kB / 0.6296 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.009773, allocations: 16.5 kB / 0.6296 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.009773, allocations: 0 / 0.6296 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.02346, allocations: 2.156 MB / 0.6317 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.711, allocations: 3.125 kB / 0.6317 GB, free: 15.25 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.460052254609764] Failed to read output from testmodel.py, exit status != 0: 7.7958266120404005 7.804272192 7.797515238 Calling exit ...