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.001279/0.001279, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001481/0.001481, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2237/0.2237, allocations: 46.93 MB / 361.6 MB, free: 4.211 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_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.002351/0.002351, allocations: 79.86 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3305, allocations: 66.07 MB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01215/0.3427, allocations: 8.808 MB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.359, allocations: 14.15 MB / 0.5839 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.359, allocations: 4 kB / 0.5839 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3593, allocations: 47.77 kB / 0.584 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006569/0.3658, allocations: 2.455 MB / 0.5864 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.92e-05/0.3659, allocations: 19.92 kB / 0.5864 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3661, allocations: 135.2 kB / 0.5865 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.3662, allocations: 0 / 0.5865 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3663, allocations: 63.77 kB / 0.5866 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.3664, allocations: 47.78 kB / 0.5866 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3664, allocations: 7.938 kB / 0.5866 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.3786, allocations: 7.357 MB / 0.5938 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.3786, allocations: 19.91 kB / 0.5938 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.3787, allocations: 39.88 kB / 0.5939 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.3933, allocations: 6.348 MB / 0.6001 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3933, allocations: 0 / 0.6001 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3933, allocations: 0 / 0.6001 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3934, allocations: 0 / 0.6001 GB, free: 12.75 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.003903/0.3973, allocations: 0.6676 MB / 0.6007 GB, free: 12.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3973, allocations: 8.031 kB / 0.6007 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.3974, allocations: 46.48 kB / 0.6008 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.3976, allocations: 23.94 kB / 0.6008 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3977, allocations: 113.2 kB / 0.6009 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3977, allocations: 8 kB / 0.6009 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.3977, allocations: 4 kB / 0.6009 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.3981, allocations: 137.5 kB / 0.601 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3982, allocations: 3.938 kB / 0.601 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3982, allocations: 0 / 0.601 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3982, allocations: 0 / 0.601 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.3985, allocations: 123 kB / 0.6012 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.3993, allocations: 0.5771 MB / 0.6017 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.3997, allocations: 134.5 kB / 0.6019 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3999, allocations: 52.83 kB / 0.6019 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.402, allocations: 0.636 MB / 0.6025 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.4023, allocations: 143.2 kB / 0.6027 GB, free: 9.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.4023, allocations: 0 / 0.6027 GB, free: 9.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007726/0.4031, allocations: 237.5 kB / 0.6029 GB, free: 9.652 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.4032, allocations: 51.41 kB / 0.6029 GB, free: 9.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.4033, allocations: 109.8 kB / 0.603 GB, free: 9.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.4033, allocations: 25.7 kB / 0.6031 GB, free: 9.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.4033, allocations: 103.8 kB / 0.6032 GB, free: 9.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.4034, allocations: 47.62 kB / 0.6032 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.4035, allocations: 33.7 kB / 0.6032 GB, free: 9.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4036, allocations: 322.8 kB / 0.6036 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.4037, allocations: 43.97 kB / 0.6036 GB, free: 8.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4039, allocations: 69.67 kB / 0.6037 GB, free: 8.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4041, allocations: 108.5 kB / 0.6038 GB, free: 8.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4041, allocations: 0 / 0.6038 GB, free: 8.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003841/0.4045, allocations: 161.5 kB / 0.6039 GB, free: 8.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4045, allocations: 10.5 kB / 0.6039 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4045, allocations: 0 / 0.6039 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4046, allocations: 7.938 kB / 0.6039 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4047, allocations: 23.98 kB / 0.604 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4047, allocations: 4 kB / 0.604 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.4048, allocations: 19.88 kB / 0.604 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4048, allocations: 8.25 kB / 0.604 GB, free: 8.465 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.0001017/0.4049, allocations: 121.8 kB / 0.6041 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.405, allocations: 7.953 kB / 0.6041 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006208/0.4056, allocations: 369.3 kB / 0.6045 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004644/0.4061, allocations: 301 kB / 0.6048 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4061, allocations: 4 kB / 0.6048 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4061, allocations: 0 / 0.6048 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4072, allocations: 0.6884 MB / 0.6054 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4072, allocations: 4 kB / 0.6054 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.4073, allocations: 27.98 kB / 0.6055 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4073, allocations: 4 kB / 0.6055 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4073, allocations: 4 kB / 0.6055 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4073, allocations: 0 / 0.6055 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4073, allocations: 3.938 kB / 0.6055 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.4081, allocations: 459.1 kB / 0.6059 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.4081, allocations: 27.86 kB / 0.6059 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.4081, allocations: 4 kB / 0.6059 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4083, allocations: 23.97 kB / 0.606 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.4084, allocations: 19.97 kB / 0.606 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4084, allocations: 8 kB / 0.606 GB, free: 6.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.586e-05/0.4084, allocations: 83.27 kB / 0.6061 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4084, allocations: 4 kB / 0.6061 GB, free: 6.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00248/0.4109, allocations: 458.7 kB / 0.6065 GB, free: 5.797 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.01757/0.4285, allocations: 5.776 MB / 0.6122 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.429, allocations: 205.4 kB / 0.6123 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.429, allocations: 0 / 0.6123 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4292, allocations: 103.8 kB / 0.6124 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.4298, allocations: 79.83 kB / 0.6125 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.4338, allocations: 1.964 MB / 0.6144 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4341, allocations: 0.7173 MB / 0.6151 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.4343, allocations: 60.88 kB / 0.6152 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.4344, allocations: 47.42 kB / 0.6152 GB, free: 12.69 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4344, allocations: 0 / 0.6152 GB, free: 12.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06527/0.4996, allocations: 23.5 MB / 0.6382 GB, free: 5.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.087/9.586, allocations: 15.08 kB / 0.6382 GB, free: 5.242 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.286090636160225] Failed to read output from testmodel.py, exit status != 0: 9.688876334577799 9.712626587 9.314778057 Calling exit ...