Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001463/0.001463, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001616/0.001616, allocations: 207.6 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 63.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.206, allocations: 53.41 MB / 432 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02829/0.2343, allocations: 27.08 MB / 459 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0273/0.2616, allocations: 25.08 MB / 484.1 MB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.262, allocations: 11.94 kB / 484.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.2628, allocations: 310.3 kB / 484.4 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008231/0.2637, allocations: 381.9 kB / 484.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.2742, allocations: 4.129 MB / 488.9 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.2754, allocations: 0.9659 MB / 489.9 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.2756, allocations: 84.8 kB / 490 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.2762, allocations: 390.6 kB / 490.4 MB, free: 12.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.2766, allocations: 322.7 kB / 490.7 MB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.2767, allocations: 36 kB / 490.7 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/0.2935, allocations: 10.54 MB / 0.4895 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.2937, allocations: 111.6 kB / 0.4896 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.2941, allocations: 231.1 kB / 0.4898 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02539/0.3195, allocations: 11.51 MB / 0.5011 GB, free: 5.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3195, allocations: 0 / 0.5011 GB, free: 5.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3195, allocations: 0 / 0.5011 GB, free: 5.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3195, allocations: 0 / 0.5011 GB, free: 5.449 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.006082/0.3256, allocations: 1.105 MB / 0.5022 GB, free: 4.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3256, allocations: 8.031 kB / 0.5022 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.859e-05/0.3256, allocations: 8.656 kB / 0.5022 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.3257, allocations: 74.53 kB / 0.5023 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.3263, allocations: 71.73 kB / 0.5023 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.3268, allocations: 264.6 kB / 0.5026 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3268, allocations: 24.66 kB / 0.5026 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.3269, allocations: 31.94 kB / 0.5026 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.3277, allocations: 467.8 kB / 0.5031 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3277, allocations: 3.938 kB / 0.5031 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.3278, allocations: 15.94 kB / 0.5031 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3278, allocations: 8 kB / 0.5031 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.3285, allocations: 398.3 kB / 0.5035 GB, free: 2.891 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.003331/0.3318, allocations: 2.81 MB / 0.5062 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.3325, allocations: 284.3 kB / 0.5065 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3327, allocations: 128.8 kB / 0.5066 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.3341, allocations: 471.4 kB / 0.5071 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3341, allocations: 38.5 kB / 0.5071 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.3341, allocations: 0 / 0.5071 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005165/0.3393, allocations: 1.156 MB / 0.5082 GB, free: 13.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3393, allocations: 55.41 kB / 0.5083 GB, free: 13.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3395, allocations: 253.9 kB / 0.5085 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3396, allocations: 33.7 kB / 0.5086 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3397, allocations: 196.4 kB / 0.5087 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.3398, allocations: 130.9 kB / 0.5089 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3399, allocations: 82.08 kB / 0.509 GB, free: 12.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3401, allocations: 334.8 kB / 0.5093 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3402, allocations: 116.8 kB / 0.5094 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.3405, allocations: 234 kB / 0.5096 GB, free: 12.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.341, allocations: 369.5 kB / 0.51 GB, free: 11.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.341, allocations: 4 kB / 0.51 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008703/0.3419, allocations: 462.7 kB / 0.5104 GB, free: 11.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3419, allocations: 4 kB / 0.5104 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3419, allocations: 4 kB / 0.5104 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/0.3476, allocations: 249.4 kB / 0.5106 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.3479, allocations: 84.22 kB / 0.5107 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.3493, allocations: 1.843 MB / 0.5125 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3495, allocations: 12 kB / 0.5125 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3495, allocations: 19.98 kB / 0.5126 GB, free: 9.027 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.0001771/0.3497, allocations: 166.3 kB / 0.5127 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.3499, allocations: 39.89 kB / 0.5128 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3509, allocations: 0.7128 MB / 0.5135 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.3509, allocations: 15.98 kB / 0.5135 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.3509, allocations: 0 / 0.5135 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000886/0.3518, allocations: 0.875 MB / 0.5143 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.3534, allocations: 1.187 MB / 0.5155 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3534, allocations: 0 / 0.5155 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3536, allocations: 63.91 kB / 0.5155 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.355, allocations: 180.5 kB / 0.5157 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.3551, allocations: 11.98 kB / 0.5157 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003838/0.3555, allocations: 0.5758 MB / 0.5163 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3555, allocations: 0 / 0.5163 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3565, allocations: 0.7497 MB / 0.517 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.3565, allocations: 31.73 kB / 0.517 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.3566, allocations: 11.94 kB / 0.5171 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3567, allocations: 16.08 kB / 0.5171 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.3568, allocations: 27.95 kB / 0.5171 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.3568, allocations: 12 kB / 0.5171 GB, free: 4.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.357, allocations: 223.1 kB / 0.5173 GB, free: 3.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.357, allocations: 0 / 0.5173 GB, free: 3.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003833/0.3609, allocations: 0.752 MB / 0.5181 GB, free: 3.176 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.02454/0.3854, allocations: 7.597 MB / 0.5255 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3865, allocations: 465.7 kB / 0.5259 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3865, allocations: 0.875 kB / 0.5259 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.3869, allocations: 216.3 kB / 0.5261 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3879, allocations: 188.6 kB / 0.5263 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/0.3955, allocations: 4.056 MB / 0.5303 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3959, allocations: 0.813 MB / 0.5311 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.3963, allocations: 190.9 kB / 0.5312 GB, free: 5.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3965, allocations: 135.4 kB / 0.5314 GB, free: 5.273 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3965, allocations: 0 / 0.5314 GB, free: 5.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2236/0.6201, allocations: 34.28 MB / 0.5648 GB, free: 78.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.2, allocations: 9.781 kB / 0.5649 GB, free: 78.21 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 66.60907374101225] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.h', 'volume.medium.p'] 14.406908617005683 14.415662884 14.094003822 Calling exit ...