Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001321/0.001321, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001443/0.001443, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.427/1.427, 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 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.2308/0.2308, allocations: 46.94 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 179] 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_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",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.002363/0.002363, allocations: 79.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.34, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01274/0.3527, allocations: 8.8 MB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.3697, allocations: 14.15 MB / 0.5839 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.3698, allocations: 4 kB / 0.5839 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.37, allocations: 55.7 kB / 0.584 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007945/0.378, allocations: 2.451 MB / 0.5864 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.3781, allocations: 11.98 kB / 0.5864 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3783, allocations: 131.2 kB / 0.5865 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3784, allocations: 0 / 0.5865 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3786, allocations: 67.7 kB / 0.5866 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3787, allocations: 43.84 kB / 0.5866 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3787, allocations: 4 kB / 0.5866 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.3912, allocations: 7.364 MB / 0.5938 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.3912, allocations: 19.86 kB / 0.5938 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3914, allocations: 39.88 kB / 0.5939 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.4069, allocations: 6.348 MB / 0.6001 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.407, allocations: 0 / 0.6001 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.407, allocations: 0 / 0.6001 GB, free: 12.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.407, allocations: 0 / 0.6001 GB, free: 12.72 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.004553/0.4115, allocations: 0.6715 MB / 0.6007 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4116, allocations: 8.031 kB / 0.6007 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.4116, allocations: 42.55 kB / 0.6008 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.4118, allocations: 23.94 kB / 0.6008 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.412, allocations: 109.2 kB / 0.6009 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.412, allocations: 4 kB / 0.6009 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.412, allocations: 11.98 kB / 0.6009 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.4124, allocations: 136.7 kB / 0.601 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4124, allocations: 4 kB / 0.601 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.4124, allocations: 4 kB / 0.6011 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4124, allocations: 0 / 0.6011 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.4128, allocations: 115.9 kB / 0.6012 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.4136, allocations: 0.5849 MB / 0.6017 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.414, allocations: 126.5 kB / 0.6019 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.4142, allocations: 52.81 kB / 0.6019 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/0.4164, allocations: 0.6438 MB / 0.6025 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.4167, allocations: 139.2 kB / 0.6027 GB, free: 9.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4167, allocations: 0 / 0.6027 GB, free: 9.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007677/0.4175, allocations: 233.5 kB / 0.6029 GB, free: 9.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.4176, allocations: 51.41 kB / 0.6029 GB, free: 9.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4177, allocations: 113.8 kB / 0.603 GB, free: 9.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.4177, allocations: 29.7 kB / 0.6031 GB, free: 9.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.4178, allocations: 99.81 kB / 0.6032 GB, free: 9.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.4178, allocations: 43.62 kB / 0.6032 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.4179, allocations: 41.7 kB / 0.6033 GB, free: 9.215 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4181, allocations: 322.8 kB / 0.6036 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4182, allocations: 43.97 kB / 0.6036 GB, free: 8.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.4183, allocations: 69.55 kB / 0.6037 GB, free: 8.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4186, allocations: 104.5 kB / 0.6038 GB, free: 8.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4186, allocations: 0 / 0.6038 GB, free: 8.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003994/0.419, allocations: 161.5 kB / 0.6039 GB, free: 8.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.419, allocations: 4 kB / 0.6039 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.419, allocations: 4 kB / 0.6039 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4191, allocations: 0 / 0.6039 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4192, allocations: 23.98 kB / 0.604 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4192, allocations: 3.938 kB / 0.604 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4193, allocations: 23.88 kB / 0.604 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.4193, allocations: 11.98 kB / 0.604 GB, free: 8.434 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.0001622/0.4195, allocations: 125.3 kB / 0.6041 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.4195, allocations: 7.953 kB / 0.6041 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.4202, allocations: 361.3 kB / 0.6045 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004698/0.4206, allocations: 309.5 kB / 0.6048 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4206, allocations: 0 / 0.6048 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4207, allocations: 0 / 0.6048 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4218, allocations: 0.6845 MB / 0.6054 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4218, allocations: 0 / 0.6054 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4219, allocations: 27.98 kB / 0.6055 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4219, allocations: 0 / 0.6055 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.4219, allocations: 11.94 kB / 0.6055 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4219, allocations: 0 / 0.6055 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4219, allocations: 0 / 0.6055 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.4226, allocations: 463.1 kB / 0.6059 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.4227, allocations: 23.81 kB / 0.6059 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.4227, allocations: 0 / 0.6059 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.4229, allocations: 32.03 kB / 0.606 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.4229, allocations: 19.97 kB / 0.606 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.423, allocations: 4 kB / 0.606 GB, free: 6.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.363e-05/0.423, allocations: 91.52 kB / 0.6061 GB, free: 6.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.423, allocations: 0 / 0.6061 GB, free: 6.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003578/0.4266, allocations: 458.7 kB / 0.6065 GB, free: 5.77 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.01852/0.4451, allocations: 5.776 MB / 0.6121 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.4457, allocations: 197.4 kB / 0.6123 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4457, allocations: 4 kB / 0.6123 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.446, allocations: 103.8 kB / 0.6124 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.4465, allocations: 90.42 kB / 0.6125 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.4509, allocations: 1.961 MB / 0.6144 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4512, allocations: 0.7212 MB / 0.6151 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.4514, allocations: 52.86 kB / 0.6152 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.4515, allocations: 47.42 kB / 0.6152 GB, free: 12.66 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4515, allocations: 0 / 0.6152 GB, free: 12.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07319/0.5247, allocations: 23.49 MB / 0.6382 GB, free: 5.223 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.2/9.725, allocations: 13.3 kB / 0.6382 GB, free: 5.219 MB / 478.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.655664083082229] Failed to read output from testmodel.py, exit status != 0: 9.8284329068847 9.855275889 9.443490072 Calling exit ...