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.001404/0.001404, allocations: 109 kB / 19.74 MB, free: 2.586 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.00156/0.00156, allocations: 215.2 kB / 22.92 MB, free: 5.559 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.31/1.31, allocations: 230.2 MB / 256.1 MB, free: 8.598 MB / 206.1 MB " [Timeout remaining time 179] 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.1977/0.1977, allocations: 46.89 MB / 359.3 MB, free: 4.949 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.00209/0.00209, allocations: 79.88 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2606, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01072/0.2713, allocations: 8.475 MB / 0.5667 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.2828, allocations: 11.23 MB / 0.5776 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.2829, allocations: 0 / 0.5776 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.2831, allocations: 47.73 kB / 0.5777 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.287, allocations: 1.824 MB / 0.5795 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.047e-06/0.287, allocations: 0 / 0.5795 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.424e-05/0.2871, allocations: 47.67 kB / 0.5795 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.2872, allocations: 4 kB / 0.5795 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2873, allocations: 35.84 kB / 0.5795 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.2873, allocations: 15.92 kB / 0.5796 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.2873, allocations: 3.938 kB / 0.5796 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009341/0.2967, allocations: 6.69 MB / 0.5861 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2967, allocations: 4 kB / 0.5861 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.2967, allocations: 19.88 kB / 0.5861 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.3083, allocations: 4.635 MB / 0.5906 GB, free: 4.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3083, allocations: 3.984 kB / 0.5906 GB, free: 4.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3083, allocations: 0 / 0.5906 GB, free: 4.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3083, allocations: 4 kB / 0.5907 GB, free: 4.051 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.002282/0.3106, allocations: 0.5789 MB / 0.5912 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3107, allocations: 8.031 kB / 0.5912 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3107, allocations: 38.56 kB / 0.5913 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3108, allocations: 11.92 kB / 0.5913 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3109, allocations: 167 kB / 0.5914 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.311, allocations: 11.98 kB / 0.5914 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.311, allocations: 3.938 kB / 0.5914 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3111, allocations: 77.61 kB / 0.5915 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3111, allocations: 4 kB / 0.5915 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3111, allocations: 8 kB / 0.5915 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.3112, allocations: 0 / 0.5915 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.3113, allocations: 75.95 kB / 0.5916 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.3117, allocations: 316.7 kB / 0.5919 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.3118, allocations: 42.55 kB / 0.5919 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.3119, allocations: 36.91 kB / 0.592 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003133/0.315, allocations: 1.846 MB / 0.5938 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.315, allocations: 30.56 kB / 0.5938 GB, free: 384 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.315, allocations: 4 kB / 0.5938 GB, free: 380 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002516/0.3153, allocations: 105.7 kB / 0.5939 GB, free: 268 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3153, allocations: 51.41 kB / 0.594 GB, free: 204 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.3154, allocations: 101.8 kB / 0.5941 GB, free: 92 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3154, allocations: 25.7 kB / 0.5941 GB, free: 60 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.3155, allocations: 84.09 kB / 0.5942 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3155, allocations: 35.72 kB / 0.5942 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.3155, allocations: 21.72 kB / 0.5942 GB, free: 15.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3156, allocations: 326.8 kB / 0.5945 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.3157, allocations: 20 kB / 0.5946 GB, free: 15.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.3157, allocations: 37.64 kB / 0.5946 GB, free: 15.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.3158, allocations: 66.03 kB / 0.5947 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3158, allocations: 0 / 0.5947 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.316, allocations: 101.6 kB / 0.5948 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.316, allocations: 6.5 kB / 0.5948 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.316, allocations: 4.031 kB / 0.5948 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.316, allocations: 0 / 0.5948 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.3161, allocations: 8 kB / 0.5948 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3161, allocations: 7.984 kB / 0.5948 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.3161, allocations: 3.938 kB / 0.5948 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3161, allocations: 4 kB / 0.5948 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 7.774e-05/0.3162, allocations: 117.8 kB / 0.5949 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.3162, allocations: 7.953 kB / 0.5949 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.3165, allocations: 153.5 kB / 0.5951 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001384/0.3166, allocations: 121.6 kB / 0.5952 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3166, allocations: 0 / 0.5952 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3166, allocations: 0 / 0.5952 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.317, allocations: 430.2 kB / 0.5956 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3171, allocations: 0 / 0.5956 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3171, allocations: 15.98 kB / 0.5956 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3171, allocations: 3.938 kB / 0.5956 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3171, allocations: 4 kB / 0.5956 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3171, allocations: 4 kB / 0.5956 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3171, allocations: 4 kB / 0.5956 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3173, allocations: 222.4 kB / 0.5958 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3174, allocations: 85.06 kB / 0.5959 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.3174, allocations: 11.92 kB / 0.5959 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.3175, allocations: 0 / 0.5959 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.3175, allocations: 4.25 kB / 0.5959 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3175, allocations: 4 kB / 0.5959 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.3175, allocations: 87.27 kB / 0.596 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3175, allocations: 0 / 0.596 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001666/0.3192, allocations: 359 kB / 0.5963 GB, free: 13.6 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.01123/0.3304, allocations: 4.373 MB / 0.6006 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.3307, allocations: 113.6 kB / 0.6007 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3307, allocations: 0 / 0.6007 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.3307, allocations: 47.92 kB / 0.6008 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3311, allocations: 31.95 kB / 0.6008 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3325, allocations: 409.5 kB / 0.6012 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3328, allocations: 0.6962 MB / 0.6019 GB, free: 7.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.3328, allocations: 15.88 kB / 0.6019 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3329, allocations: 27.42 kB / 0.6019 GB, free: 7.793 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3329, allocations: 4 kB / 0.6019 GB, free: 7.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.3771, allocations: 19.97 MB / 0.6214 GB, free: 3.859 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.22, allocations: 2.656 kB / 0.6214 GB, free: 3.859 MB / 462.1 MB " [Timeout remaining time 652] (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 --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: 10.74294234799163]