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.001229/0.001229, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.001458/0.001458, allocations: 217.8 kB / 22.99 MB, free: 5.582 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.363/1.363, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2133/0.2133, allocations: 46.92 MB / 359.4 MB, free: 4.836 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.002178/0.002178, allocations: 79.86 kB / 0.4941 GB, free: 8.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 65.99 MB / 0.5586 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01251/0.3297, allocations: 8.475 MB / 0.5669 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.345, allocations: 13.1 MB / 0.5797 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.345, allocations: 3.938 kB / 0.5797 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3452, allocations: 39.78 kB / 0.5797 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006451/0.3517, allocations: 2.143 MB / 0.5818 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.062e-06/0.3517, allocations: 0 / 0.5818 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3518, allocations: 51.61 kB / 0.5818 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3519, allocations: 4 kB / 0.5818 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.352, allocations: 39.78 kB / 0.5819 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.352, allocations: 11.94 kB / 0.5819 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3521, allocations: 4 kB / 0.5819 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.3624, allocations: 6.043 MB / 0.5878 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.3624, allocations: 3.938 kB / 0.5878 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.3625, allocations: 23.92 kB / 0.5878 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.3735, allocations: 4.787 MB / 0.5925 GB, free: 2.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3735, allocations: 3.938 kB / 0.5925 GB, free: 2.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3735, allocations: 0 / 0.5925 GB, free: 2.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3736, allocations: 7.938 kB / 0.5925 GB, free: 2.25 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.003104/0.3767, allocations: 0.6373 MB / 0.5931 GB, free: 1.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3767, allocations: 8.031 kB / 0.5931 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/0.3768, allocations: 38.55 kB / 0.5932 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.3769, allocations: 8 kB / 0.5932 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.377, allocations: 167 kB / 0.5933 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3771, allocations: 4 kB / 0.5934 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3771, allocations: 8 kB / 0.5934 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.3774, allocations: 117.5 kB / 0.5935 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3774, allocations: 0 / 0.5935 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3774, allocations: 4 kB / 0.5935 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3774, allocations: 7.938 kB / 0.5935 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.3778, allocations: 115.9 kB / 0.5936 GB, free: 1.039 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.0005622/0.3783, allocations: 348.7 kB / 0.5939 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3786, allocations: 66.53 kB / 0.594 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3787, allocations: 40.77 kB / 0.594 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/0.3823, allocations: 2.127 MB / 0.5961 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3824, allocations: 38.56 kB / 0.5961 GB, free: 14.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3824, allocations: 4 kB / 0.5961 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006417/0.383, allocations: 137.6 kB / 0.5963 GB, free: 13.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3831, allocations: 55.41 kB / 0.5963 GB, free: 13.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.3832, allocations: 105.8 kB / 0.5964 GB, free: 13.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3832, allocations: 25.7 kB / 0.5965 GB, free: 13.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3832, allocations: 91.98 kB / 0.5965 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3833, allocations: 31.78 kB / 0.5966 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.3833, allocations: 21.72 kB / 0.5966 GB, free: 13.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3835, allocations: 322.8 kB / 0.5969 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3836, allocations: 35.91 kB / 0.5969 GB, free: 13.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3837, allocations: 37.69 kB / 0.597 GB, free: 13.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3839, allocations: 65.7 kB / 0.597 GB, free: 13.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3839, allocations: 0 / 0.597 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002894/0.3841, allocations: 101.6 kB / 0.5971 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3842, allocations: 4 kB / 0.5971 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3842, allocations: 4 kB / 0.5971 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3842, allocations: 0 / 0.5971 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3843, allocations: 20.02 kB / 0.5972 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3843, allocations: 0 / 0.5972 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.3843, allocations: 15.94 kB / 0.5972 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3844, allocations: 4 kB / 0.5972 GB, free: 12.91 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 0.0001011/0.3845, allocations: 125.7 kB / 0.5973 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.3845, allocations: 3.938 kB / 0.5973 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.385, allocations: 248.1 kB / 0.5975 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.385, allocations: 7.984 kB / 0.5975 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.385, allocations: 0 / 0.5975 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.385, allocations: 0 / 0.5975 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3853, allocations: 233.5 kB / 0.5978 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3853, allocations: 0 / 0.5978 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.3853, allocations: 19.98 kB / 0.5978 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3853, allocations: 7.938 kB / 0.5978 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3854, allocations: 8 kB / 0.5978 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3854, allocations: 0 / 0.5978 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3854, allocations: 0 / 0.5978 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.3857, allocations: 255.3 kB / 0.598 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3858, allocations: 85 kB / 0.5981 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3858, allocations: 8 kB / 0.5981 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3859, allocations: 4 kB / 0.5981 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3859, allocations: 11.98 kB / 0.5981 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3859, allocations: 7.938 kB / 0.5982 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.386, allocations: 87.2 kB / 0.5982 GB, free: 11.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.386, allocations: 0 / 0.5982 GB, free: 11.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002001/0.388, allocations: 374.9 kB / 0.5986 GB, free: 11.36 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.01174/0.3997, allocations: 4.25 MB / 0.6027 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.4001, allocations: 92.44 kB / 0.6028 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4001, allocations: 0 / 0.6028 GB, free: 6.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4002, allocations: 59.92 kB / 0.6029 GB, free: 6.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4005, allocations: 22.47 kB / 0.6029 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4021, allocations: 466 kB / 0.6034 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4024, allocations: 0.6962 MB / 0.604 GB, free: 5.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.4025, allocations: 47.67 kB / 0.6041 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.4026, allocations: 31.42 kB / 0.6041 GB, free: 5.609 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4026, allocations: 0 / 0.6041 GB, free: 5.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.4473, allocations: 18.09 MB / 0.6218 GB, free: 3.551 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/9.072, allocations: 7.547 kB / 0.6218 GB, free: 3.547 MB / 462.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 11.722131394984899] Failed to read output from testmodel.py, exit status != 0: 9.162267122999765 9.180953891 8.803848834 Calling exit ...