Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001482/0.001482, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001599/0.001599, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2137/0.2137, allocations: 46.91 MB / 361.6 MB, free: 4.188 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_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 83.81 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3181, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01232/0.3304, allocations: 8.798 MB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.3466, allocations: 14.15 MB / 0.5839 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3467, allocations: 4 kB / 0.5839 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.3469, allocations: 55.7 kB / 0.584 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00708/0.354, allocations: 2.454 MB / 0.5864 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.984e-05/0.3541, allocations: 15.97 kB / 0.5864 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3543, allocations: 127.3 kB / 0.5865 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.3544, allocations: 7.938 kB / 0.5865 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3545, allocations: 63.77 kB / 0.5866 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.3546, allocations: 39.86 kB / 0.5866 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3546, allocations: 7.984 kB / 0.5866 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.3674, allocations: 7.364 MB / 0.5938 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.3675, allocations: 15.92 kB / 0.5938 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3676, allocations: 39.81 kB / 0.5939 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.3824, allocations: 6.348 MB / 0.6001 GB, free: 12.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3824, allocations: 0 / 0.6001 GB, free: 12.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3824, allocations: 0 / 0.6001 GB, free: 12.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3824, allocations: 0 / 0.6001 GB, free: 12.69 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004092/0.3865, allocations: 0.6676 MB / 0.6007 GB, free: 11.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3865, allocations: 8.031 kB / 0.6007 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.3865, allocations: 4 kB / 0.6007 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.3866, allocations: 42.55 kB / 0.6008 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.3868, allocations: 23.94 kB / 0.6008 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3869, allocations: 113.1 kB / 0.6009 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3869, allocations: 4 kB / 0.6009 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3869, allocations: 16 kB / 0.6009 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3873, allocations: 133.5 kB / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3873, allocations: 0 / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3873, allocations: 0 / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3874, allocations: 8 kB / 0.601 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.3877, allocations: 111.9 kB / 0.6012 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.3884, allocations: 0.5809 MB / 0.6017 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.3889, allocations: 142.5 kB / 0.6019 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.389, allocations: 48.83 kB / 0.6019 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002147/0.3911, allocations: 0.6399 MB / 0.6025 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.3915, allocations: 135.3 kB / 0.6027 GB, free: 9.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 3.396e-06/0.3915, allocations: 4 kB / 0.6027 GB, free: 9.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007553/0.3923, allocations: 236 kB / 0.6029 GB, free: 9.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3923, allocations: 55.41 kB / 0.6029 GB, free: 9.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.3924, allocations: 105.8 kB / 0.603 GB, free: 9.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3924, allocations: 33.7 kB / 0.6031 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3925, allocations: 95.8 kB / 0.6032 GB, free: 9.273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.3925, allocations: 47.64 kB / 0.6032 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.3926, allocations: 41.64 kB / 0.6032 GB, free: 9.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3927, allocations: 318.8 kB / 0.6036 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3928, allocations: 43.97 kB / 0.6036 GB, free: 8.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.393, allocations: 64.44 kB / 0.6037 GB, free: 8.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3932, allocations: 109.7 kB / 0.6038 GB, free: 8.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3932, allocations: 3.938 kB / 0.6038 GB, free: 8.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003857/0.3936, allocations: 160 kB / 0.6039 GB, free: 8.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3936, allocations: 6.031 kB / 0.6039 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3936, allocations: 256 / 0.6039 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3937, allocations: 0 / 0.6039 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3938, allocations: 31.92 kB / 0.604 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3938, allocations: 7.938 kB / 0.604 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3939, allocations: 19.94 kB / 0.604 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3939, allocations: 7.984 kB / 0.604 GB, free: 8.402 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 0.0001084/0.394, allocations: 117.8 kB / 0.6041 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.3941, allocations: 11.95 kB / 0.6041 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.3947, allocations: 373.2 kB / 0.6045 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004383/0.3951, allocations: 297.6 kB / 0.6047 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3951, allocations: 0 / 0.6047 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3951, allocations: 4 kB / 0.6048 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3962, allocations: 0.6845 MB / 0.6054 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3962, allocations: 3.938 kB / 0.6054 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3964, allocations: 31.91 kB / 0.6055 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3964, allocations: 4 kB / 0.6055 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3964, allocations: 4 kB / 0.6055 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3964, allocations: 8 kB / 0.6055 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3964, allocations: 3.938 kB / 0.6055 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.3971, allocations: 443.2 kB / 0.6059 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.3972, allocations: 23.86 kB / 0.6059 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.3972, allocations: 11.97 kB / 0.6059 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.3974, allocations: 28.05 kB / 0.606 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.3975, allocations: 15.95 kB / 0.606 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.3975, allocations: 12 kB / 0.606 GB, free: 6.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.3975, allocations: 87.2 kB / 0.6061 GB, free: 6.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3975, allocations: 0 / 0.6061 GB, free: 6.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00293/0.4005, allocations: 454.7 kB / 0.6065 GB, free: 5.734 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01867/0.4191, allocations: 5.783 MB / 0.6121 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.4198, allocations: 197.5 kB / 0.6123 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4198, allocations: 0 / 0.6123 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.42, allocations: 107.9 kB / 0.6124 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.4206, allocations: 71.91 kB / 0.6125 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.4253, allocations: 1.961 MB / 0.6144 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.4257, allocations: 0.7251 MB / 0.6151 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.4258, allocations: 48.81 kB / 0.6152 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4259, allocations: 59.34 kB / 0.6152 GB, free: 12.63 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4259, allocations: 0 / 0.6152 GB, free: 12.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.4778, allocations: 23.63 MB / 0.6383 GB, free: 5.098 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.2, allocations: 7.844 kB / 0.6383 GB, free: 5.09 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.741934635967482] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.388991350017022 12.403566689 12.018094385 Calling exit ...