Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 109.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 219 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 256.5 MB, free: 8.438 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.89 kB / 376.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 53.31 MB / 429.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03177/0.2849, allocations: 27.07 MB / 456.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0294/0.3143, allocations: 25.07 MB / 481.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.3147, allocations: 7.938 kB / 481.7 MB, free: 3.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.3156, allocations: 310.3 kB / 482 MB, free: 2.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.3164, allocations: 385.8 kB / 482.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01099/0.3274, allocations: 4.09 MB / 486.4 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.3287, allocations: 0.9542 MB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.3289, allocations: 69.06 kB / 487.5 MB, free: 13.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.3295, allocations: 406.6 kB / 487.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.3299, allocations: 314.8 kB / 488.2 MB, free: 12.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.33, allocations: 36 kB / 488.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01859/0.3486, allocations: 10.5 MB / 498.7 MB, free: 2.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.3488, allocations: 107.6 kB / 498.8 MB, free: 1.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.3492, allocations: 227.2 kB / 499 MB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0291/0.3783, allocations: 11.5 MB / 0.4986 GB, free: 6.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3783, allocations: 8 kB / 0.4986 GB, free: 6.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3783, allocations: 0 / 0.4986 GB, free: 6.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3783, allocations: 0 / 0.4986 GB, free: 6.195 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005574/0.3839, allocations: 1.177 MB / 0.4997 GB, free: 4.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3839, allocations: 12.03 kB / 0.4997 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.384, allocations: 70.53 kB / 0.4998 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.3845, allocations: 67.73 kB / 0.4999 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.385, allocations: 334.3 kB / 0.5002 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3851, allocations: 24.66 kB / 0.5002 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.3851, allocations: 31.94 kB / 0.5002 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.386, allocations: 467.8 kB / 0.5007 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.386, allocations: 3.938 kB / 0.5007 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.386, allocations: 12 kB / 0.5007 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.386, allocations: 8 kB / 0.5007 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.3868, allocations: 386.3 kB / 0.5011 GB, free: 3.492 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.3902, allocations: 2.957 MB / 0.504 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.3908, allocations: 281.8 kB / 0.5042 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.391, allocations: 120.9 kB / 0.5043 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/0.3935, allocations: 2.466 MB / 0.5068 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3936, allocations: 38.56 kB / 0.5068 GB, free: 12.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.774e-06/0.3936, allocations: 4 kB / 0.5068 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005087/0.3987, allocations: 1.291 MB / 0.5081 GB, free: 11.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3987, allocations: 59.41 kB / 0.5081 GB, free: 11.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.399, allocations: 262.5 kB / 0.5084 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.399, allocations: 37.64 kB / 0.5084 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3992, allocations: 192.4 kB / 0.5086 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3993, allocations: 130.9 kB / 0.5087 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3994, allocations: 82.08 kB / 0.5088 GB, free: 10.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3996, allocations: 338.8 kB / 0.5091 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3998, allocations: 116.8 kB / 0.5092 GB, free: 10.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.4001, allocations: 234 kB / 0.5094 GB, free: 9.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.4006, allocations: 365.5 kB / 0.5098 GB, free: 9.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4006, allocations: 4 kB / 0.5098 GB, free: 9.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008556/0.4015, allocations: 467 kB / 0.5102 GB, free: 9.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4015, allocations: 12.06 kB / 0.5102 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4015, allocations: 4 kB / 0.5103 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/0.4058, allocations: 229.4 kB / 0.5105 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4062, allocations: 91.83 kB / 0.5106 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.4078, allocations: 1.939 MB / 0.5125 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.408, allocations: 12.06 kB / 0.5125 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.408, allocations: 20 kB / 0.5125 GB, free: 6.645 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.4083, allocations: 169.6 kB / 0.5126 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.4083, allocations: 35.75 kB / 0.5127 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4094, allocations: 0.6777 MB / 0.5133 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4094, allocations: 8 kB / 0.5133 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4094, allocations: 3.938 kB / 0.5134 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009276/0.4104, allocations: 0.871 MB / 0.5142 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4119, allocations: 1.195 MB / 0.5154 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4119, allocations: 0 / 0.5154 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.4122, allocations: 63.91 kB / 0.5154 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.4136, allocations: 172.6 kB / 0.5156 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.4136, allocations: 15.98 kB / 0.5156 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004023/0.414, allocations: 0.5602 MB / 0.5162 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.414, allocations: 8 kB / 0.5162 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4151, allocations: 0.7421 MB / 0.5169 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4152, allocations: 116.8 kB / 0.517 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.4152, allocations: 8.062 kB / 0.517 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4154, allocations: 12 kB / 0.517 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.4154, allocations: 23.91 kB / 0.517 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.4155, allocations: 15.98 kB / 0.5171 GB, free: 1.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.4157, allocations: 226 kB / 0.5173 GB, free: 1.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4157, allocations: 0 / 0.5173 GB, free: 1.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003931/0.4197, allocations: 0.7597 MB / 0.518 GB, free: 0.7383 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02516/0.4448, allocations: 7.574 MB / 0.5254 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.4459, allocations: 469.4 kB / 0.5259 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4459, allocations: 0 / 0.5259 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.4462, allocations: 212.2 kB / 0.5261 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4473, allocations: 197.3 kB / 0.5263 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/0.4555, allocations: 4.048 MB / 0.5302 GB, free: 4.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4559, allocations: 0.8051 MB / 0.531 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004174/0.4563, allocations: 187.6 kB / 0.5312 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.4565, allocations: 135.4 kB / 0.5313 GB, free: 2.875 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4565, allocations: 0 / 0.5313 GB, free: 2.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/0.7094, allocations: 33.91 MB / 0.5644 GB, free: 77.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.81, allocations: 18.09 kB / 0.5644 GB, free: 77.08 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.083094747998985] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 13.931383158982499 13.940501018 13.559587271 Calling exit ...