Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001175/0.001175, 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.001475/0.001475, allocations: 208.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.2189/0.2189, allocations: 46.93 MB / 361.6 MB, free: 4.184 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_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 75.88 kB / 0.4969 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3138, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01244/0.3262, allocations: 8.475 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3392, allocations: 11.27 MB / 0.5808 GB, free: 496 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3393, allocations: 0 / 0.5808 GB, free: 496 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.3395, allocations: 47.72 kB / 0.5808 GB, free: 448 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.3452, allocations: 1.867 MB / 0.5826 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.039e-05/0.3452, allocations: 0 / 0.5826 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3453, allocations: 55.59 kB / 0.5827 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.3454, allocations: 7.938 kB / 0.5827 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3455, allocations: 23.86 kB / 0.5827 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.3455, allocations: 27.84 kB / 0.5827 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3456, allocations: 8 kB / 0.5828 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.3557, allocations: 6.744 MB / 0.5893 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.3557, allocations: 8 kB / 0.5893 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.3558, allocations: 15.88 kB / 0.5894 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.368, allocations: 5.096 MB / 0.5943 GB, free: 2.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.368, allocations: 0 / 0.5943 GB, free: 2.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.368, allocations: 0 / 0.5943 GB, free: 2.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.368, allocations: 0 / 0.5943 GB, free: 2.562 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.003291/0.3713, allocations: 0.5075 MB / 0.5948 GB, free: 2.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3713, allocations: 16.03 kB / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/0.3713, allocations: 0 / 0.5949 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3714, allocations: 38.56 kB / 0.5949 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3715, allocations: 7.984 kB / 0.5949 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3716, allocations: 109.2 kB / 0.595 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3716, allocations: 4 kB / 0.595 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3716, allocations: 7.938 kB / 0.595 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3718, allocations: 77.61 kB / 0.5951 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3718, allocations: 0 / 0.5951 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3718, allocations: 8 kB / 0.5951 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.3718, allocations: 4 kB / 0.5951 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3719, allocations: 79.95 kB / 0.5952 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.3724, allocations: 291.8 kB / 0.5955 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.3725, allocations: 42.5 kB / 0.5955 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.3726, allocations: 24.92 kB / 0.5955 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002814/0.3754, allocations: 0.7998 MB / 0.5963 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3754, allocations: 42.55 kB / 0.5963 GB, free: 388 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3754, allocations: 0 / 0.5963 GB, free: 388 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002894/0.3757, allocations: 114 kB / 0.5964 GB, free: 268 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3758, allocations: 51.41 kB / 0.5965 GB, free: 204 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.3758, allocations: 105.8 kB / 0.5966 GB, free: 88 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3759, allocations: 25.7 kB / 0.5966 GB, free: 56 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.3759, allocations: 88.03 kB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.376, allocations: 31.73 kB / 0.5967 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.376, allocations: 21.72 kB / 0.5968 GB, free: 15.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3762, allocations: 318.8 kB / 0.5971 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.3762, allocations: 27.98 kB / 0.5971 GB, free: 15.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.3763, allocations: 33.7 kB / 0.5971 GB, free: 15.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3764, allocations: 61.66 kB / 0.5972 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3764, allocations: 4 kB / 0.5972 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.3765, allocations: 93.58 kB / 0.5973 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3766, allocations: 9.859 kB / 0.5973 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3766, allocations: 0 / 0.5973 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3766, allocations: 4.031 kB / 0.5973 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.3766, allocations: 8 kB / 0.5973 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3766, allocations: 4 kB / 0.5973 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.3767, allocations: 7.938 kB / 0.5973 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.3767, allocations: 7.938 kB / 0.5973 GB, free: 15.31 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.457e-05/0.3768, allocations: 109.8 kB / 0.5974 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3768, allocations: 7.953 kB / 0.5974 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3771, allocations: 157.7 kB / 0.5976 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001516/0.3773, allocations: 116.9 kB / 0.5977 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3773, allocations: 4 kB / 0.5977 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3773, allocations: 448 / 0.5977 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.3778, allocations: 409.3 kB / 0.5981 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3778, allocations: 4 kB / 0.5981 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.3779, allocations: 12 kB / 0.5981 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.3779, allocations: 7.922 kB / 0.5981 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3779, allocations: 4 kB / 0.5981 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3779, allocations: 4 kB / 0.5981 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3779, allocations: 4.172 kB / 0.5981 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3781, allocations: 227.4 kB / 0.5983 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.3782, allocations: 11.88 kB / 0.5983 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3782, allocations: 4 kB / 0.5983 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.3782, allocations: 4 kB / 0.5983 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.3782, allocations: 3.984 kB / 0.5984 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3783, allocations: 4 kB / 0.5984 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.3783, allocations: 87.28 kB / 0.5984 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3783, allocations: 0 / 0.5984 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00255/0.3809, allocations: 362.9 kB / 0.5988 GB, free: 13.72 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.01493/0.3958, allocations: 4.735 MB / 0.6034 GB, free: 8.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.3961, allocations: 109.6 kB / 0.6035 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3961, allocations: 0 / 0.6035 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.3962, allocations: 47.92 kB / 0.6036 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.3967, allocations: 44.38 kB / 0.6036 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3988, allocations: 410.3 kB / 0.604 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3991, allocations: 0.6924 MB / 0.6047 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.3992, allocations: 23.61 kB / 0.6047 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3992, allocations: 39.36 kB / 0.6047 GB, free: 7.52 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3992, allocations: 0 / 0.6047 GB, free: 7.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.4463, allocations: 20.27 MB / 0.6245 GB, free: 3.328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.9, allocations: 8.047 kB / 0.6245 GB, free: 3.32 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 64.84679812198738] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.083513677993324 12.109168592 11.736187217 Calling exit ...