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.0008615/0.0008615, 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.0008708/0.0008708, 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.9371/0.9371, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7175/0.7175, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.587e-05, allocations: 5.172 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4371/0.4371, allocations: 119.6 MB / 0.7349 GB, free: 26.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.458, allocations: 20.22 MB / 0.7546 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.4583, allocations: 1.219 kB / 0.7546 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.4586, allocations: 45.97 kB / 0.7547 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.4589, allocations: 101.4 kB / 0.7548 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0198/0.4787, allocations: 7.015 MB / 0.7616 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.4792, allocations: 260.8 kB / 0.7619 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.4792, allocations: 16.09 kB / 0.7619 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.4796, allocations: 180 kB / 0.7621 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.4797, allocations: 73.25 kB / 0.7621 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.4797, allocations: 8.406 kB / 0.7621 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/0.4999, allocations: 11.13 MB / 0.773 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5, allocations: 41.86 kB / 0.7731 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.5002, allocations: 65.34 kB / 0.7731 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.5202, allocations: 8.359 MB / 0.7813 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5202, allocations: 0 / 0.7813 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5202, allocations: 0 / 0.7813 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5202, allocations: 4 kB / 0.7813 GB, free: 2.859 MB / 0.6355 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.00456/0.5248, allocations: 1.174 MB / 0.7824 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5248, allocations: 12.16 kB / 0.7824 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.5248, allocations: 52.39 kB / 0.7825 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/0.5255, allocations: 80.64 kB / 0.7826 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.5257, allocations: 165.8 kB / 0.7827 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.5257, allocations: 9.531 kB / 0.7827 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.5258, allocations: 19.25 kB / 0.7828 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.5265, allocations: 0.6685 MB / 0.7834 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5265, allocations: 4 kB / 0.7834 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.5265, allocations: 10.58 kB / 0.7834 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5265, allocations: 5.844 kB / 0.7834 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.5272, allocations: 0.609 MB / 0.784 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.528, allocations: 0.7316 MB / 0.7847 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.5285, allocations: 232.6 kB / 0.785 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/0.5286, allocations: 67.64 kB / 0.785 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04623/0.5748, allocations: 23.36 MB / 0.8078 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.5749, allocations: 35.22 kB / 0.8079 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.253e-06/0.5749, allocations: 0 / 0.8079 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001147/0.576, allocations: 430.4 kB / 0.8083 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.5761, allocations: 58.31 kB / 0.8083 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.5762, allocations: 148.3 kB / 0.8085 GB, free: 448 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.5762, allocations: 25.7 kB / 0.8085 GB, free: 416 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.5763, allocations: 108.5 kB / 0.8086 GB, free: 304 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.5763, allocations: 91.22 kB / 0.8087 GB, free: 212 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.5764, allocations: 85.61 kB / 0.8088 GB, free: 120 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5766, allocations: 322.8 kB / 0.8091 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.5767, allocations: 79.95 kB / 0.8092 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.5772, allocations: 129.1 kB / 0.8093 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.5775, allocations: 219.9 kB / 0.8095 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5775, allocations: 0 / 0.8095 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005028/0.578, allocations: 290.2 kB / 0.8098 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.578, allocations: 11.98 kB / 0.8098 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.578, allocations: 0 / 0.8098 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.578, allocations: 12.03 kB / 0.8098 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5782, allocations: 83.94 kB / 0.8099 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5782, allocations: 7.938 kB / 0.8099 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.5783, allocations: 19.84 kB / 0.8099 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.5783, allocations: 23.98 kB / 0.8099 GB, free: 14.89 MB / 0.6667 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.0001117/0.5784, allocations: 126.7 kB / 0.81 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5786, allocations: 27.83 kB / 0.8101 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.5803, allocations: 2.494 MB / 0.8125 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5803, allocations: 11.97 kB / 0.8125 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5803, allocations: 0 / 0.8125 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5803, allocations: 4 kB / 0.8125 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.5827, allocations: 3.579 MB / 0.816 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.5827, allocations: 0 / 0.816 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.5828, allocations: 55.95 kB / 0.8161 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5828, allocations: 0 / 0.8161 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5828, allocations: 8 kB / 0.8161 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5829, allocations: 3.938 kB / 0.8161 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5829, allocations: 7.922 kB / 0.8161 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.5837, allocations: 0.5511 MB / 0.8166 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.5838, allocations: 63.62 kB / 0.8167 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.5838, allocations: 8.75 kB / 0.8167 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5839, allocations: 12 kB / 0.8167 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.5839, allocations: 27.89 kB / 0.8167 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.584, allocations: 12 kB / 0.8167 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.584, allocations: 107.2 kB / 0.8168 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.584, allocations: 0 / 0.8168 GB, free: 7.676 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005829/0.5899, allocations: 1.707 MB / 0.8185 GB, free: 5.965 MB / 0.6667 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.01197/0.6018, allocations: 3.214 MB / 0.8216 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.6024, allocations: 317 kB / 0.8219 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6024, allocations: 0 / 0.8219 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.6026, allocations: 201.8 kB / 0.8221 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.6031, allocations: 59.83 kB / 0.8222 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.6097, allocations: 3.084 MB / 0.8252 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.6098, allocations: 156.7 kB / 0.8254 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003887/0.6102, allocations: 413.2 kB / 0.8257 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.6104, allocations: 96.44 kB / 0.8258 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/0.6104, allocations: 0 / 0.8258 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0902/0.7006, allocations: 64.55 MB / 0.8889 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.97, allocations: 0 / 0.8889 GB, free: 13.89 MB / 0.7448 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.026018802076578] Failed to read output from testmodel.py, exit status != 0: 11.087509060278535 11.098758472 10.576384454 Calling exit ...