Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001648/0.001648, allocations: 120 kB / 18.5 MB, free: 4.52 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.001793/0.001793, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.477/1.477, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2386/0.2386, allocations: 46.92 MB / 357.7 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002315/0.002315, allocations: 75.88 kB / 0.4917 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1404, allocations: 66.04 MB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01826/0.1586, allocations: 8.448 MB / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.1807, allocations: 13.04 MB / 0.5771 GB, free: 36 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1808, allocations: 0 / 0.5771 GB, free: 36 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1811, allocations: 43.84 kB / 0.5772 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.1877, allocations: 2.146 MB / 0.5793 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.243e-06/0.1877, allocations: 0 / 0.5793 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1878, allocations: 55.61 kB / 0.5793 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1878, allocations: 0 / 0.5793 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.188, allocations: 39.84 kB / 0.5794 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.188, allocations: 19.92 kB / 0.5794 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-06/0.188, allocations: 0 / 0.5794 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009996/0.198, allocations: 6.035 MB / 0.5853 GB, free: 7.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.198, allocations: 19.86 kB / 0.5853 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.1981, allocations: 11.94 kB / 0.5853 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.2103, allocations: 4.791 MB / 0.59 GB, free: 2.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2103, allocations: 0 / 0.59 GB, free: 2.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2103, allocations: 0 / 0.59 GB, free: 2.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2103, allocations: 8 kB / 0.59 GB, free: 2.844 MB / 446.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.003604/0.2139, allocations: 0.6333 MB / 0.5906 GB, free: 2.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.214, allocations: 12.03 kB / 0.5906 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.214, allocations: 34.56 kB / 0.5907 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2141, allocations: 7.984 kB / 0.5907 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2143, allocations: 175 kB / 0.5908 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2143, allocations: 0 / 0.5908 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2143, allocations: 7.938 kB / 0.5908 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.2147, allocations: 117.6 kB / 0.5909 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2147, allocations: 0 / 0.5909 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2147, allocations: 4 kB / 0.5909 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2148, allocations: 0 / 0.5909 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.2151, allocations: 123.9 kB / 0.5911 GB, free: 1.633 MB / 446.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.0006421/0.2158, allocations: 404 kB / 0.5915 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.2161, allocations: 74.45 kB / 0.5915 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2162, allocations: 36.83 kB / 0.5916 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3408/0.557, allocations: 2.128 MB / 0.5936 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.557, allocations: 33.81 kB / 0.5937 GB, free: 32.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.557, allocations: 0 / 0.5937 GB, free: 32.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006845/0.5577, allocations: 145 kB / 0.5938 GB, free: 32.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.5577, allocations: 52.88 kB / 0.5939 GB, free: 32.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.5578, allocations: 97.06 kB / 0.5939 GB, free: 32.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.5578, allocations: 29.67 kB / 0.594 GB, free: 32.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.5578, allocations: 99.77 kB / 0.5941 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.5579, allocations: 19.64 kB / 0.5941 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.5579, allocations: 26.06 kB / 0.5941 GB, free: 32.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.558, allocations: 314.3 kB / 0.5944 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.5581, allocations: 26.05 kB / 0.5944 GB, free: 31.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5582, allocations: 47.27 kB / 0.5945 GB, free: 31.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.5584, allocations: 64.38 kB / 0.5945 GB, free: 31.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5584, allocations: 0 / 0.5945 GB, free: 31.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00029/0.5587, allocations: 103.9 kB / 0.5946 GB, free: 31.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5587, allocations: 5.656 kB / 0.5947 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5587, allocations: 2.656 kB / 0.5947 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5587, allocations: 6.109 kB / 0.5947 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5588, allocations: 22.53 kB / 0.5947 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.5588, allocations: 2.375 kB / 0.5947 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.5589, allocations: 13.03 kB / 0.5947 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5589, allocations: 6.609 kB / 0.5947 GB, free: 31.76 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 6.562e-05/0.5589, allocations: 112.4 kB / 0.5948 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.559, allocations: 4.453 kB / 0.5948 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.5595, allocations: 257.2 kB / 0.5951 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5595, allocations: 4.344 kB / 0.5951 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5595, allocations: 0.6875 kB / 0.5951 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5595, allocations: 1.328 kB / 0.5951 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.5597, allocations: 227.1 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.5597, allocations: 1.812 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.5598, allocations: 20.39 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5598, allocations: 1.578 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.5598, allocations: 5.5 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5598, allocations: 2.938 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5598, allocations: 3.844 kB / 0.5953 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.5602, allocations: 257 kB / 0.5956 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.5602, allocations: 88.03 kB / 0.5956 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.5602, allocations: 6.453 kB / 0.5957 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.5603, allocations: 9.844 kB / 0.5957 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.5604, allocations: 12.66 kB / 0.5957 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5604, allocations: 3.703 kB / 0.5957 GB, free: 31.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.226e-05/0.5604, allocations: 78.95 kB / 0.5958 GB, free: 31.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5604, allocations: 1.062 kB / 0.5958 GB, free: 31.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002478/0.5629, allocations: 375.3 kB / 0.5961 GB, free: 31.08 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.01245/0.5753, allocations: 4.256 MB / 0.6003 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.5758, allocations: 87.89 kB / 0.6004 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5758, allocations: 1.812 kB / 0.6004 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.576, allocations: 61.06 kB / 0.6004 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.5764, allocations: 18.05 kB / 0.6004 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.5793, allocations: 453.1 kB / 0.6009 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.5794, allocations: 0.6957 MB / 0.6015 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.5796, allocations: 56 kB / 0.6016 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.5796, allocations: 27.91 kB / 0.6016 GB, free: 27.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5796, allocations: 0.8125 kB / 0.6016 GB, free: 27.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05553/0.6352, allocations: 18.1 MB / 0.6193 GB, free: 22.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.861/9.497, allocations: 9 kB / 0.6193 GB, free: 22.94 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.555888189002872] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'rho', 'mu', 'cp', 'k'] 9.586477942299098 9.595876974 9.383371505 Calling exit ...