Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.0008486/0.0008486, allocations: 109.9 kB / 18.93 MB, free: 1.277 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.0009175/0.0009175, allocations: 219.2 kB / 22.26 MB, free: 3.699 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.9686/0.9686, allocations: 230.6 MB / 256 MB, free: 9.82 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.8072/0.8072, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",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.0009129/0.0009129, allocations: 70.84 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5103, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1368/0.6471, allocations: 139.4 MB / 0.954 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.667, allocations: 22.89 MB / 0.9763 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.6671, allocations: 0 / 0.9763 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.6674, allocations: 43.69 kB / 0.9764 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.6677, allocations: 103.4 kB / 0.9765 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.6809, allocations: 6.972 MB / 0.9833 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.6813, allocations: 255.9 kB / 0.9835 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.6814, allocations: 5.75 kB / 0.9835 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.6817, allocations: 171.3 kB / 0.9837 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.6818, allocations: 87.66 kB / 0.9838 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.6818, allocations: 8 kB / 0.9838 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/0.6985, allocations: 11.7 MB / 0.9952 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.6986, allocations: 35.89 kB / 0.9953 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.6987, allocations: 87.64 kB / 0.9953 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.7133, allocations: 6.501 MB / 1.002 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7133, allocations: 0 / 1.002 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7133, allocations: 0 / 1.002 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.7134, allocations: 0 / 1.002 GB, free: 9.223 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003578/0.7169, allocations: 1.167 MB / 1.003 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.717, allocations: 11.97 kB / 1.003 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.717, allocations: 54.73 kB / 1.003 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.7177, allocations: 84.75 kB / 1.003 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.718, allocations: 174.3 kB / 1.003 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7181, allocations: 11.94 kB / 1.003 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.7181, allocations: 16 kB / 1.003 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.7189, allocations: 476.7 kB / 1.004 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7189, allocations: 0 / 1.004 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.7189, allocations: 8 kB / 1.004 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.7189, allocations: 4 kB / 1.004 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009728/0.7199, allocations: 0.6205 MB / 1.004 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/0.7208, allocations: 0.854 MB / 1.005 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.7213, allocations: 238.3 kB / 1.005 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.7213, allocations: 60.83 kB / 1.005 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04296/0.7643, allocations: 23.3 MB / 1.028 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.7643, allocations: 38.56 kB / 1.028 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.7643, allocations: 0 / 1.028 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.001049/0.7654, allocations: 425.7 kB / 1.029 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.7654, allocations: 51.41 kB / 1.029 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.7655, allocations: 144 kB / 1.029 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.7655, allocations: 29.7 kB / 1.029 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.7656, allocations: 112.4 kB / 1.029 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.7656, allocations: 95.2 kB / 1.029 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.7657, allocations: 77.66 kB / 1.029 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.7658, allocations: 330.8 kB / 1.029 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.7659, allocations: 79.95 kB / 1.029 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.7661, allocations: 126.8 kB / 1.03 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.7664, allocations: 225.8 kB / 1.03 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7664, allocations: 0 / 1.03 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004765/0.7668, allocations: 305.2 kB / 1.03 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7669, allocations: 4 kB / 1.03 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7669, allocations: 160 / 1.03 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7669, allocations: 8 kB / 1.03 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.7671, allocations: 87.88 kB / 1.03 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.7671, allocations: 7.984 kB / 1.03 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.7672, allocations: 27.7 kB / 1.03 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.7672, allocations: 27.98 kB / 1.03 GB, free: 11.68 MB / 0.8073 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 (30): * Single equations (assignments): 30 * 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 0.0001022/0.7673, allocations: 121.8 kB / 1.03 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.7674, allocations: 19.91 kB / 1.03 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.7692, allocations: 2.479 MB / 1.033 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7693, allocations: 11.98 kB / 1.033 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7693, allocations: 0 / 1.033 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7693, allocations: 11.92 kB / 1.033 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.7716, allocations: 3.598 MB / 1.036 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.7716, allocations: 0 / 1.036 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.7718, allocations: 55.89 kB / 1.036 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.7718, allocations: 3.938 kB / 1.036 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7718, allocations: 8 kB / 1.036 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.7718, allocations: 3.938 kB / 1.036 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7718, allocations: 4 kB / 1.036 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.7723, allocations: 0.5545 MB / 1.037 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.7724, allocations: 67.56 kB / 1.037 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.7724, allocations: 11.94 kB / 1.037 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.7725, allocations: 8 kB / 1.037 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.7726, allocations: 19.91 kB / 1.037 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.7726, allocations: 15.98 kB / 1.037 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.7727, allocations: 109.3 kB / 1.037 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.7727, allocations: 0 / 1.037 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003795/0.7765, allocations: 1.715 MB / 1.039 GB, free: 2.723 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007197/0.7836, allocations: 2.965 MB / 1.042 GB, free: 15.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.7842, allocations: 312.4 kB / 1.042 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7842, allocations: 4.312 kB / 1.042 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.7844, allocations: 197.4 kB / 1.042 GB, free: 15.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.7847, allocations: 59.95 kB / 1.042 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.7889, allocations: 3.104 MB / 1.045 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.7894, allocations: 0.766 MB / 1.046 GB, free: 11.16 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003629/0.7898, allocations: 405.3 kB / 1.046 GB, free: 10.76 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.7899, allocations: 95.39 kB / 1.047 GB, free: 10.67 MB / 0.823 GB Notification: Performance of SimCode: time 8.22e-07/0.7899, allocations: 0 / 1.047 GB, free: 10.67 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/0.877, allocations: 63.79 MB / 1.109 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.85, allocations: 6.25 kB / 1.109 GB, free: 10.93 MB / 0.8855 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.105400876142085] Failed to read output from testmodel.py, exit status != 0: 10.971158214146271 10.984480884 10.268986955 Calling exit ...