Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 106.1 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 175.8 MB / 478.4 MB, free: 8.477 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 70.95 kB / 0.6652 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1935, allocations: 94.53 MB / 0.7575 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6019/0.7953, allocations: 188 MB / 0.9411 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.8128, allocations: 13.14 MB / 0.9539 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.814, allocations: 35.81 kB / 0.954 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.8156, allocations: 441.1 kB / 0.9544 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.8189, allocations: 1.202 MB / 0.9556 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.8209, allocations: 0.7098 MB / 0.9563 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.8238, allocations: 2 MB / 0.9582 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.8251, allocations: 0.6989 MB / 0.9589 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.8296, allocations: 2.004 MB / 0.9609 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.8314, allocations: 0.6996 MB / 0.9615 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.8317, allocations: 80 kB / 0.9616 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.8336, allocations: 0.9081 MB / 0.9625 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.8341, allocations: 394.8 kB / 0.9629 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.8349, allocations: 0.5054 MB / 0.9634 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.8374, allocations: 1.497 MB / 0.9648 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.8374, allocations: 0 / 0.9648 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8374, allocations: 0 / 0.9648 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.555e-05/0.8375, allocations: 4 kB / 0.9648 GB, free: 3.648 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002334/0.8398, allocations: 1.269 MB / 0.9661 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.8399, allocations: 8.031 kB / 0.9661 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.8401, allocations: 122.5 kB / 0.9662 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.8413, allocations: 223.2 kB / 0.9664 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.8427, allocations: 0.6799 MB / 0.9671 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.8427, allocations: 58 kB / 0.9671 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.8428, allocations: 83.94 kB / 0.9672 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.8443, allocations: 0.9438 MB / 0.9681 GB, free: 88 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.8443, allocations: 3.938 kB / 0.9681 GB, free: 84 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.8444, allocations: 32 kB / 0.9682 GB, free: 52 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.8444, allocations: 29.31 kB / 0.9682 GB, free: 24 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.8454, allocations: 0.6139 MB / 0.9688 GB, free: 15.41 MB / 0.7637 GB 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.005129/0.8506, allocations: 4.672 MB / 0.9734 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/0.8514, allocations: 0.5318 MB / 0.9739 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.8518, allocations: 242 kB / 0.9741 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.852, allocations: 105 kB / 0.9742 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.852, allocations: 42.5 kB / 0.9743 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.852, allocations: 0 / 0.9743 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.003071/0.8551, allocations: 1.618 MB / 0.9758 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.8552, allocations: 110.8 kB / 0.9759 GB, free: 7.637 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.8561, allocations: 0.7078 MB / 0.9766 GB, free: 6.918 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.8561, allocations: 37.7 kB / 0.9767 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.8565, allocations: 424.5 kB / 0.9771 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.8566, allocations: 178.4 kB / 0.9772 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.8568, allocations: 118.4 kB / 0.9774 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.857, allocations: 334 kB / 0.9777 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.8573, allocations: 185.2 kB / 0.9779 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.8578, allocations: 421 kB / 0.9783 GB, free: 5.133 MB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.8601, allocations: 1.177 MB / 0.9794 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8601, allocations: 0 / 0.9794 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001039/0.8611, allocations: 0.6763 MB / 0.9801 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8611, allocations: 8 kB / 0.9801 GB, free: 3.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8611, allocations: 4 kB / 0.9801 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.8611, allocations: 15.94 kB / 0.9801 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.8616, allocations: 127.8 kB / 0.9802 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.8616, allocations: 15.94 kB / 0.9802 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.8621, allocations: 27.94 kB / 0.9803 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.8622, allocations: 24 kB / 0.9803 GB, free: 2.949 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003728/0.8626, allocations: 277.6 kB / 0.9805 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.8627, allocations: 87.48 kB / 0.9806 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.8629, allocations: 91.66 kB / 0.9807 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8629, allocations: 4 kB / 0.9807 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8629, allocations: 0 / 0.9807 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007554/0.8636, allocations: 0.7118 MB / 0.9814 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.8662, allocations: 1.656 MB / 0.983 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8662, allocations: 4 kB / 0.983 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.8667, allocations: 95.89 kB / 0.9831 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.8667, allocations: 4 kB / 0.9831 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.8667, allocations: 15.98 kB / 0.9831 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.8667, allocations: 12.44 kB / 0.9832 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.8667, allocations: 8 kB / 0.9832 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8679, allocations: 0.8654 MB / 0.984 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.8683, allocations: 209.5 kB / 0.9842 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8684, allocations: 16 kB / 0.9842 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.8688, allocations: 15.98 kB / 0.9842 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.8688, allocations: 39.84 kB / 0.9843 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.8689, allocations: 23.98 kB / 0.9843 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000618/0.8695, allocations: 0.5107 MB / 0.9848 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8695, allocations: 0 / 0.9848 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006792/0.8702, allocations: 200 kB / 0.985 GB, free: 13.84 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.001754/0.8719, allocations: 1.514 MB / 0.9865 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.8727, allocations: 464.2 kB / 0.9869 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.8727, allocations: 5.562 kB / 0.9869 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.873, allocations: 200.7 kB / 0.9871 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.875, allocations: 481.5 kB / 0.9876 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/0.8836, allocations: 6.64 MB / 0.9941 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.8843, allocations: 1.032 MB / 0.9951 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006501/0.8849, allocations: 195 kB / 0.9952 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.8853, allocations: 299.3 kB / 0.9955 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of SimCode: time 7.71e-07/0.8853, allocations: 0 / 0.9955 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05382/0.9391, allocations: 22.33 MB / 1.017 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.958, allocations: 13.7 kB / 1.017 GB, free: 12.66 MB / 0.8106 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.70270203333348] Failed to read output from testmodel.py, exit status != 0: 10.040056374389678 10.054320856 9.214001876 Calling exit ...