Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.001254/0.001254, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001471/0.001471, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 8.004 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+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(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 43.92 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2238, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02913/0.2529, allocations: 27.08 MB / 459 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02772/0.2807, allocations: 25.08 MB / 484.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.281, allocations: 7.938 kB / 484.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008385/0.2818, allocations: 306.3 kB / 484.4 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008219/0.2827, allocations: 381.9 kB / 484.8 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.2944, allocations: 4.125 MB / 488.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.2958, allocations: 0.962 MB / 489.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.296, allocations: 81.22 kB / 489.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.2967, allocations: 406.6 kB / 490.3 MB, free: 12.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.2971, allocations: 314.8 kB / 490.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.2971, allocations: 36 kB / 490.7 MB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/0.3154, allocations: 10.55 MB / 0.4895 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3157, allocations: 115.6 kB / 0.4896 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.316, allocations: 227.1 kB / 0.4898 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02683/0.3429, allocations: 11.51 MB / 0.501 GB, free: 5.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3429, allocations: 0 / 0.501 GB, free: 5.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3429, allocations: 0 / 0.501 GB, free: 5.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3429, allocations: 0 / 0.501 GB, free: 5.496 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.006179/0.3491, allocations: 1.117 MB / 0.5021 GB, free: 4.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3491, allocations: 8.031 kB / 0.5021 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.3491, allocations: 8.656 kB / 0.5021 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.3492, allocations: 70.53 kB / 0.5022 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.3499, allocations: 67.73 kB / 0.5023 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.3504, allocations: 264.6 kB / 0.5025 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3504, allocations: 20.66 kB / 0.5025 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.3505, allocations: 39.94 kB / 0.5026 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.3514, allocations: 459.8 kB / 0.503 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3514, allocations: 7.938 kB / 0.503 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.3515, allocations: 16 kB / 0.503 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3515, allocations: 8 kB / 0.503 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.3523, allocations: 390.3 kB / 0.5034 GB, free: 2.941 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.003821/0.3561, allocations: 2.814 MB / 0.5062 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.3568, allocations: 281.1 kB / 0.5064 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.357, allocations: 128.8 kB / 0.5066 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.3585, allocations: 463.5 kB / 0.507 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3585, allocations: 38.5 kB / 0.507 GB, free: 15.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.3585, allocations: 0 / 0.507 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005564/0.3641, allocations: 1.151 MB / 0.5082 GB, free: 13.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.3641, allocations: 59.41 kB / 0.5082 GB, free: 13.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.3645, allocations: 261.8 kB / 0.5085 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.3646, allocations: 29.7 kB / 0.5085 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3647, allocations: 196.4 kB / 0.5087 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3648, allocations: 122.9 kB / 0.5088 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.365, allocations: 86.06 kB / 0.5089 GB, free: 13.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3652, allocations: 342.8 kB / 0.5092 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3654, allocations: 112.8 kB / 0.5093 GB, free: 12.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.3657, allocations: 226 kB / 0.5095 GB, free: 12.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.3663, allocations: 374 kB / 0.5099 GB, free: 11.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3663, allocations: 4 kB / 0.5099 GB, free: 11.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001021/0.3674, allocations: 462.7 kB / 0.5103 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3674, allocations: 12.42 kB / 0.5103 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3674, allocations: 8 kB / 0.5103 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005826/0.3732, allocations: 241.4 kB / 0.5106 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3736, allocations: 91.83 kB / 0.5107 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.3754, allocations: 1.843 MB / 0.5125 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.3757, allocations: 12.16 kB / 0.5125 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.3758, allocations: 24 kB / 0.5125 GB, free: 9.066 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.0002531/0.376, allocations: 169.6 kB / 0.5127 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.3762, allocations: 35.75 kB / 0.5127 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3774, allocations: 0.7056 MB / 0.5134 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3774, allocations: 4 kB / 0.5134 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3774, allocations: 4 kB / 0.5134 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009411/0.3784, allocations: 0.8828 MB / 0.5143 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3801, allocations: 1.179 MB / 0.5154 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3801, allocations: 0 / 0.5154 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.3803, allocations: 71.83 kB / 0.5155 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.3818, allocations: 184.5 kB / 0.5157 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3819, allocations: 8 kB / 0.5157 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004233/0.3823, allocations: 0.5797 MB / 0.5162 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3823, allocations: 0 / 0.5162 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3834, allocations: 0.742 MB / 0.5169 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.3835, allocations: 35.78 kB / 0.517 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.3836, allocations: 15.94 kB / 0.517 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3838, allocations: 7.938 kB / 0.517 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.3838, allocations: 24.02 kB / 0.517 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3838, allocations: 19.98 kB / 0.517 GB, free: 4.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3841, allocations: 219.1 kB / 0.5173 GB, free: 3.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3841, allocations: 64 / 0.5173 GB, free: 3.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00409/0.3882, allocations: 0.7559 MB / 0.518 GB, free: 3.219 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.02552/0.4137, allocations: 7.6 MB / 0.5254 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009951/0.4147, allocations: 465.8 kB / 0.5259 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4147, allocations: 0 / 0.5259 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.4151, allocations: 220.3 kB / 0.5261 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4163, allocations: 188.2 kB / 0.5263 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/0.4246, allocations: 4.063 MB / 0.5302 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4251, allocations: 0.8052 MB / 0.531 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004171/0.4255, allocations: 186.9 kB / 0.5312 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.4257, allocations: 139.4 kB / 0.5313 GB, free: 5.324 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4257, allocations: 0 / 0.5313 GB, free: 5.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2405/0.6662, allocations: 34.31 MB / 0.5648 GB, free: 78.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.39, allocations: 15.88 kB / 0.5648 GB, free: 78.2 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.81873670202913] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.588596922985744 14.601451165 14.255777564 Calling exit ...