Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001152/0.001152, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001254/0.001254, allocations: 223.8 kB / 22.92 MB, free: 5.535 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.89 MB / 359.3 MB, free: 4.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 83.86 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2489, allocations: 65.99 MB / 0.5584 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01066/0.2596, allocations: 8.47 MB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.2733, allocations: 13.1 MB / 0.5795 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.2734, allocations: 0 / 0.5795 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2735, allocations: 51.72 kB / 0.5795 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.2781, allocations: 2.142 MB / 0.5816 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.2781, allocations: 4 kB / 0.5816 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.2782, allocations: 51.62 kB / 0.5817 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.2782, allocations: 3.984 kB / 0.5817 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2784, allocations: 35.84 kB / 0.5817 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.2784, allocations: 15.88 kB / 0.5817 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.2784, allocations: 0 / 0.5817 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008375/0.2868, allocations: 6.043 MB / 0.5876 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2868, allocations: 7.922 kB / 0.5876 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2868, allocations: 19.92 kB / 0.5877 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009127/0.2959, allocations: 4.795 MB / 0.5923 GB, free: 2.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.296, allocations: 0 / 0.5923 GB, free: 2.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.296, allocations: 0 / 0.5923 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.296, allocations: 4 kB / 0.5923 GB, free: 2.312 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002385/0.2983, allocations: 0.6295 MB / 0.593 GB, free: 1.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2984, allocations: 12.03 kB / 0.593 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.2984, allocations: 42.48 kB / 0.593 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.2985, allocations: 4 kB / 0.593 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2986, allocations: 167 kB / 0.5932 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2987, allocations: 12 kB / 0.5932 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2987, allocations: 0 / 0.5932 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.299, allocations: 117.5 kB / 0.5933 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.299, allocations: 4 kB / 0.5933 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.299, allocations: 4 kB / 0.5933 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.299, allocations: 0 / 0.5933 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.2993, allocations: 127.8 kB / 0.5934 GB, free: 1.098 MB / 430.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.0005071/0.2998, allocations: 344.7 kB / 0.5938 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3001, allocations: 66.53 kB / 0.5938 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3002, allocations: 32.84 kB / 0.5939 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003449/0.3037, allocations: 2.127 MB / 0.5959 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3037, allocations: 38.5 kB / 0.596 GB, free: 14.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3037, allocations: 0 / 0.596 GB, free: 14.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006079/0.3043, allocations: 145.6 kB / 0.5961 GB, free: 13.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3043, allocations: 51.41 kB / 0.5962 GB, free: 13.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.3044, allocations: 105.8 kB / 0.5963 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3044, allocations: 25.7 kB / 0.5963 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.3045, allocations: 99.98 kB / 0.5964 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3045, allocations: 27.77 kB / 0.5964 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3045, allocations: 25.72 kB / 0.5964 GB, free: 13.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3047, allocations: 326.7 kB / 0.5967 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.3048, allocations: 23.98 kB / 0.5968 GB, free: 13.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3049, allocations: 45.64 kB / 0.5968 GB, free: 13.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3051, allocations: 61.69 kB / 0.5969 GB, free: 13.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3051, allocations: 0 / 0.5969 GB, free: 13.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002845/0.3054, allocations: 101.6 kB / 0.597 GB, free: 13.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3054, allocations: 8 kB / 0.597 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3054, allocations: 32 / 0.597 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3054, allocations: 4 kB / 0.597 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.3055, allocations: 19.98 kB / 0.597 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3055, allocations: 0 / 0.597 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.3055, allocations: 15.94 kB / 0.597 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3056, allocations: 0 / 0.597 GB, free: 12.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.52e-05/0.3056, allocations: 117.8 kB / 0.5971 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.3057, allocations: 4 kB / 0.5971 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.3061, allocations: 249.3 kB / 0.5974 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.3061, allocations: 4 kB / 0.5974 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3061, allocations: 7.938 kB / 0.5974 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3061, allocations: 3.984 kB / 0.5974 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3064, allocations: 233.5 kB / 0.5976 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.3064, allocations: 4 kB / 0.5976 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.3065, allocations: 19.98 kB / 0.5976 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3065, allocations: 0 / 0.5976 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3065, allocations: 4 kB / 0.5976 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3065, allocations: 0 / 0.5976 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3065, allocations: 3.938 kB / 0.5976 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.3068, allocations: 258 kB / 0.5979 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.3069, allocations: 92.98 kB / 0.598 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3069, allocations: 4 kB / 0.598 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.307, allocations: 4 kB / 0.598 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.307, allocations: 11.98 kB / 0.598 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.307, allocations: 4 kB / 0.598 GB, free: 11.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.307, allocations: 75.28 kB / 0.5981 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 0.5981 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001669/0.3087, allocations: 386.8 kB / 0.5984 GB, free: 11.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0115/0.3202, allocations: 4.256 MB / 0.6026 GB, free: 7.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.3205, allocations: 92.38 kB / 0.6027 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3205, allocations: 0 / 0.6027 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3207, allocations: 59.92 kB / 0.6027 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3209, allocations: 28.19 kB / 0.6028 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3223, allocations: 450 kB / 0.6032 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3226, allocations: 0.6924 MB / 0.6039 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3227, allocations: 51.61 kB / 0.6039 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.3228, allocations: 31.42 kB / 0.6039 GB, free: 5.676 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3228, allocations: 0 / 0.6039 GB, free: 5.676 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.3637, allocations: 18.08 MB / 0.6216 GB, free: 3.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.25, allocations: 11.38 kB / 0.6216 GB, free: 3.621 MB / 462.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.833891778005636]