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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004493/0.004493, allocations: 103.5 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 194.7 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8436/0.8436, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.12 kB / 0.5852 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.168, allocations: 80.92 MB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6518/0.8199, allocations: 187.3 MB / 0.8471 GB, free: 72 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.8358, allocations: 13.05 MB / 0.8598 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.8375, allocations: 31.62 kB / 0.8598 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.8393, allocations: 435.1 kB / 0.8603 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.8431, allocations: 1.204 MB / 0.8614 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.8452, allocations: 0.7094 MB / 0.8621 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.8479, allocations: 2.011 MB / 0.8641 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.8493, allocations: 0.8323 MB / 0.8649 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.8539, allocations: 1.88 MB / 0.8667 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.8558, allocations: 0.6693 MB / 0.8674 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.8561, allocations: 80 kB / 0.8675 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.8586, allocations: 0.8809 MB / 0.8683 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/0.8592, allocations: 383 kB / 0.8687 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009477/0.8601, allocations: 0.4977 MB / 0.8692 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.8631, allocations: 1.503 MB / 0.8707 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8631, allocations: 0 / 0.8707 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8631, allocations: 0 / 0.8707 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.884e-05/0.8631, allocations: 4 kB / 0.8707 GB, free: 11.89 MB / 0.6387 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.002324/0.8655, allocations: 1.231 MB / 0.8719 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8655, allocations: 13.11 kB / 0.8719 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.8657, allocations: 126.5 kB / 0.872 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.867, allocations: 210.7 kB / 0.8722 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.8682, allocations: 0.6755 MB / 0.8729 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.8683, allocations: 61.94 kB / 0.8729 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.8684, allocations: 79.91 kB / 0.873 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.8698, allocations: 0.9326 MB / 0.8739 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.8698, allocations: 3.938 kB / 0.8739 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.8699, allocations: 36 kB / 0.8739 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.8699, allocations: 25.31 kB / 0.874 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.871, allocations: 0.6138 MB / 0.8746 GB, free: 7.707 MB / 0.6387 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.004207/0.8752, allocations: 4.57 MB / 0.879 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.8759, allocations: 0.5388 MB / 0.8795 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.8762, allocations: 250.1 kB / 0.8798 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.8764, allocations: 109 kB / 0.8799 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.8764, allocations: 43.19 kB / 0.8799 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.8764, allocations: 0 / 0.8799 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002628/0.8791, allocations: 1.584 MB / 0.8815 GB, free: 192 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.8791, allocations: 110.8 kB / 0.8816 GB, free: 56 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.88, allocations: 0.7155 MB / 0.8823 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.88, allocations: 33.7 kB / 0.8823 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.8803, allocations: 419.8 kB / 0.8827 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.8805, allocations: 165.6 kB / 0.8829 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.8807, allocations: 114.2 kB / 0.883 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8808, allocations: 334 kB / 0.8833 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.8811, allocations: 185.2 kB / 0.8835 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.8816, allocations: 413 kB / 0.8839 GB, free: 13.58 MB / 0.6544 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.002055/0.8836, allocations: 1.173 MB / 0.885 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8836, allocations: 0 / 0.885 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009569/0.8846, allocations: 0.6681 MB / 0.8857 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8846, allocations: 8.094 kB / 0.8857 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8846, allocations: 11.94 kB / 0.8857 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.8847, allocations: 12 kB / 0.8857 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.8852, allocations: 127.8 kB / 0.8858 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.8852, allocations: 12 kB / 0.8858 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.8857, allocations: 32.7 kB / 0.8859 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.8858, allocations: 28 kB / 0.8859 GB, free: 11.4 MB / 0.6544 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.0003306/0.8861, allocations: 269.6 kB / 0.8861 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.8862, allocations: 87 kB / 0.8862 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.8864, allocations: 91.66 kB / 0.8863 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.8864, allocations: 4 kB / 0.8863 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8864, allocations: 0 / 0.8863 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006636/0.8871, allocations: 0.7027 MB / 0.887 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.8895, allocations: 1.635 MB / 0.8886 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8896, allocations: 8 kB / 0.8886 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.89, allocations: 103.8 kB / 0.8887 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.89, allocations: 4 kB / 0.8887 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.8901, allocations: 15.98 kB / 0.8887 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.597e-06/0.8901, allocations: 11.94 kB / 0.8887 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8901, allocations: 7.938 kB / 0.8887 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.8912, allocations: 0.8889 MB / 0.8896 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.8915, allocations: 212.1 kB / 0.8898 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.8916, allocations: 16 kB / 0.8898 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.892, allocations: 18.02 kB / 0.8899 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.8921, allocations: 35.84 kB / 0.8899 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.8921, allocations: 23.98 kB / 0.8899 GB, free: 7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005939/0.8927, allocations: 0.5068 MB / 0.8904 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8927, allocations: 4 kB / 0.8904 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007159/0.8935, allocations: 204 kB / 0.8906 GB, free: 6.297 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.001805/0.8953, allocations: 1.533 MB / 0.8921 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007871/0.8961, allocations: 495.9 kB / 0.8926 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8961, allocations: 0 / 0.8926 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.8964, allocations: 210.5 kB / 0.8928 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.8983, allocations: 483.1 kB / 0.8932 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.907, allocations: 6.593 MB / 0.8997 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.9077, allocations: 1.028 MB / 0.9007 GB, free: 11.52 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000628/0.9083, allocations: 203 kB / 0.9009 GB, free: 11.31 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.9087, allocations: 295.3 kB / 0.9012 GB, free: 11.02 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.9087, allocations: 0 / 0.9012 GB, free: 11.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/0.9598, allocations: 22.24 MB / 0.9229 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/9.76, allocations: 11.92 kB / 0.9229 GB, free: 5.125 MB / 0.6856 GB (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 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)