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_pTX.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.001727/0.001727, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002188/0.002188, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2461/0.2461, allocations: 46.93 MB / 361.6 MB, free: 4.191 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_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX",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.002318/0.002318, allocations: 83.86 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3161, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01253/0.3287, allocations: 8.467 MB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.3421, allocations: 11.27 MB / 0.5808 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.3422, allocations: 0 / 0.5808 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.3424, allocations: 47.78 kB / 0.5808 GB, free: 480 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.3475, allocations: 1.857 MB / 0.5826 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.414e-06/0.3475, allocations: 0 / 0.5826 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3477, allocations: 51.61 kB / 0.5827 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.3477, allocations: 7.938 kB / 0.5827 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3478, allocations: 35.84 kB / 0.5827 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.3479, allocations: 15.94 kB / 0.5827 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.3479, allocations: 0 / 0.5827 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.358, allocations: 6.756 MB / 0.5893 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.358, allocations: 3.938 kB / 0.5893 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.358, allocations: 19.88 kB / 0.5894 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.3699, allocations: 5.092 MB / 0.5943 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3699, allocations: 4 kB / 0.5943 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3699, allocations: 0 / 0.5943 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3699, allocations: 0 / 0.5943 GB, free: 2.602 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.002824/0.3727, allocations: 0.5114 MB / 0.5948 GB, free: 2.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3727, allocations: 12.02 kB / 0.5949 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.3728, allocations: 34.56 kB / 0.5949 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.3729, allocations: 8 kB / 0.5949 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.373, allocations: 113.2 kB / 0.595 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.373, allocations: 3.938 kB / 0.595 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.373, allocations: 4 kB / 0.595 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3732, allocations: 89.53 kB / 0.5951 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3732, allocations: 4 kB / 0.5951 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3732, allocations: 0 / 0.5951 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3732, allocations: 4 kB / 0.5951 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3733, allocations: 83.97 kB / 0.5952 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.3738, allocations: 295.8 kB / 0.5955 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.3739, allocations: 42.5 kB / 0.5955 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.3739, allocations: 20.92 kB / 0.5955 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002853/0.3768, allocations: 0.8037 MB / 0.5963 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.3768, allocations: 34.56 kB / 0.5963 GB, free: 424 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3768, allocations: 0 / 0.5963 GB, free: 424 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003015/0.3771, allocations: 117.7 kB / 0.5965 GB, free: 300 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3772, allocations: 55.41 kB / 0.5965 GB, free: 232 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.3772, allocations: 93.86 kB / 0.5966 GB, free: 128 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3773, allocations: 25.7 kB / 0.5966 GB, free: 96 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.3773, allocations: 96.08 kB / 0.5967 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.3774, allocations: 27.73 kB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.3774, allocations: 29.64 kB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3776, allocations: 318.8 kB / 0.5971 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.3776, allocations: 23.98 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/0.3777, allocations: 33.72 kB / 0.5971 GB, free: 15.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3778, allocations: 65.95 kB / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3778, allocations: 0 / 0.5972 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.3779, allocations: 97.58 kB / 0.5973 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.378, allocations: 10.66 kB / 0.5973 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.378, allocations: 32 / 0.5973 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.378, allocations: 4 kB / 0.5973 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.378, allocations: 8 kB / 0.5973 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.378, allocations: 7.969 kB / 0.5973 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.3781, allocations: 4 kB / 0.5973 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3781, allocations: 0 / 0.5973 GB, free: 15.35 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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 9.485e-05/0.3782, allocations: 121.7 kB / 0.5974 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.3782, allocations: 7.953 kB / 0.5974 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3785, allocations: 149.6 kB / 0.5976 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001636/0.3787, allocations: 121.2 kB / 0.5977 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3787, allocations: 3.938 kB / 0.5977 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3787, allocations: 4 kB / 0.5977 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.3792, allocations: 401.4 kB / 0.5981 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3792, allocations: 0 / 0.5981 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.3793, allocations: 19.98 kB / 0.5981 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3793, allocations: 3.938 kB / 0.5981 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3793, allocations: 4 kB / 0.5981 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3793, allocations: 4 kB / 0.5981 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3793, allocations: 0 / 0.5981 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3795, allocations: 223.4 kB / 0.5983 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.3795, allocations: 7.938 kB / 0.5983 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3796, allocations: 8.172 kB / 0.5983 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.3796, allocations: 8.188 kB / 0.5984 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.3796, allocations: 4 kB / 0.5984 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3797, allocations: 11.97 kB / 0.5984 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.3797, allocations: 79.28 kB / 0.5984 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3797, allocations: 4 kB / 0.5984 GB, free: 14.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002051/0.3817, allocations: 362.9 kB / 0.5988 GB, free: 13.75 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01449/0.3962, allocations: 4.743 MB / 0.6034 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3966, allocations: 109.6 kB / 0.6035 GB, free: 8.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3966, allocations: 0 / 0.6035 GB, free: 8.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.3967, allocations: 39.98 kB / 0.6036 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.3972, allocations: 31.97 kB / 0.6036 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.3999, allocations: 414.4 kB / 0.604 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4003, allocations: 0.6924 MB / 0.6047 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.327e-05/0.4004, allocations: 19.86 kB / 0.6047 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.4004, allocations: 31.44 kB / 0.6047 GB, free: 7.57 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4004, allocations: 3.938 kB / 0.6047 GB, free: 7.566 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.4476, allocations: 20.15 MB / 0.6244 GB, free: 3.453 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.238, allocations: 14.3 kB / 0.6244 GB, free: 3.445 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.134890762157738] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 9.338074975181371 9.359662615 8.985513457 Calling exit ...