Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009607/0.0009607, 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.001754/0.001754, 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.9058/0.9058, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7038/0.7038, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.699e-05, allocations: 7.609 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4314/0.4314, allocations: 119.6 MB / 0.7349 GB, free: 26.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02044/0.4519, allocations: 20.23 MB / 0.7547 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.4521, allocations: 0.9688 kB / 0.7547 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.4525, allocations: 44 kB / 0.7547 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.453, allocations: 100.3 kB / 0.7548 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.02022/0.4732, allocations: 7.013 MB / 0.7617 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.4736, allocations: 264 kB / 0.7619 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.4737, allocations: 12.08 kB / 0.7619 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.474, allocations: 183.3 kB / 0.7621 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.4742, allocations: 69.86 kB / 0.7622 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.4742, allocations: 12.75 kB / 0.7622 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02003/0.4942, allocations: 11.14 MB / 0.7731 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.4944, allocations: 38.08 kB / 0.7731 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4946, allocations: 61.8 kB / 0.7732 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02016/0.5147, allocations: 8.365 MB / 0.7813 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5147, allocations: 4 kB / 0.7813 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5147, allocations: 0 / 0.7813 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5147, allocations: 3.938 kB / 0.7813 GB, free: 2.766 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.00578/0.5205, allocations: 1.168 MB / 0.7825 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5206, allocations: 8.188 kB / 0.7825 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.5206, allocations: 54.83 kB / 0.7825 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.5214, allocations: 84.27 kB / 0.7826 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.5218, allocations: 163 kB / 0.7828 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5218, allocations: 16.33 kB / 0.7828 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5218, allocations: 19.44 kB / 0.7828 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.5227, allocations: 0.6607 MB / 0.7835 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5227, allocations: 3.984 kB / 0.7835 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.5227, allocations: 14.56 kB / 0.7835 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5227, allocations: 5.188 kB / 0.7835 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.5234, allocations: 0.6091 MB / 0.7841 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.5243, allocations: 0.7257 MB / 0.7848 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.5248, allocations: 236.2 kB / 0.785 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.5249, allocations: 73.14 kB / 0.7851 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04483/0.5697, allocations: 23.36 MB / 0.8079 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.5698, allocations: 42.55 kB / 0.8079 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 1.973e-06/0.5698, allocations: 4 kB / 0.8079 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001076/0.5708, allocations: 417.4 kB / 0.8083 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.5709, allocations: 55.41 kB / 0.8084 GB, free: 492 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.571, allocations: 144 kB / 0.8085 GB, free: 340 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.571, allocations: 29.7 kB / 0.8085 GB, free: 304 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.571, allocations: 108.5 kB / 0.8087 GB, free: 192 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.5711, allocations: 91.22 kB / 0.8087 GB, free: 100 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.5712, allocations: 77.61 kB / 0.8088 GB, free: 16 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.5713, allocations: 330.8 kB / 0.8091 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.5714, allocations: 83.95 kB / 0.8092 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.5715, allocations: 125.1 kB / 0.8093 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.5718, allocations: 227.6 kB / 0.8095 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5718, allocations: 0 / 0.8095 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00046/0.5723, allocations: 294.4 kB / 0.8098 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5723, allocations: 11.94 kB / 0.8098 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5723, allocations: 4.156 kB / 0.8098 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5723, allocations: 4 kB / 0.8098 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5725, allocations: 75.94 kB / 0.8099 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5725, allocations: 7.938 kB / 0.8099 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.5726, allocations: 19.84 kB / 0.8099 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.5726, allocations: 23.98 kB / 0.81 GB, free: 14.79 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 9.8e-05/0.5727, allocations: 138.6 kB / 0.8101 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.5728, allocations: 19.91 kB / 0.8101 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.5746, allocations: 2.491 MB / 0.8125 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5746, allocations: 19.97 kB / 0.8126 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5746, allocations: 0 / 0.8126 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5746, allocations: 0 / 0.8126 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.5769, allocations: 3.579 MB / 0.8161 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5769, allocations: 0 / 0.8161 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.577, allocations: 55.95 kB / 0.8161 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.577, allocations: 0 / 0.8161 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.577, allocations: 15.92 kB / 0.8161 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.577, allocations: 0 / 0.8161 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.577, allocations: 7.875 kB / 0.8161 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.5775, allocations: 0.5519 MB / 0.8167 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.5776, allocations: 67.62 kB / 0.8167 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.5776, allocations: 4 kB / 0.8167 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5777, allocations: 15.98 kB / 0.8168 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.5777, allocations: 23.91 kB / 0.8168 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.5777, allocations: 8 kB / 0.8168 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.5778, allocations: 109.9 kB / 0.8169 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.5778, allocations: 0 / 0.8169 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004424/0.5822, allocations: 1.715 MB / 0.8186 GB, free: 5.84 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.006258/0.5885, allocations: 3.199 MB / 0.8217 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.5889, allocations: 324.6 kB / 0.822 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5889, allocations: 4.062 kB / 0.822 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.5891, allocations: 193.5 kB / 0.8222 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.5894, allocations: 76.83 kB / 0.8223 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.593, allocations: 3.073 MB / 0.8253 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.5931, allocations: 156.7 kB / 0.8254 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.5935, allocations: 413.2 kB / 0.8258 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.5936, allocations: 96.45 kB / 0.8259 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.5936, allocations: 4 kB / 0.8259 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/0.6751, allocations: 64.53 MB / 0.8889 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.456/10.13, allocations: 4.062 kB / 0.8889 GB, free: 13.79 MB / 0.7448 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.928040612488985] Failed to read output from testmodel.py, exit status != 0: 10.251499496400356 10.260280378 9.743368408 Calling exit ...