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.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8012/0.8012, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001144, allocations: 64.59 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1292, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.365/0.4942, allocations: 187.2 MB / 0.7673 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.5077, allocations: 13.06 MB / 0.7801 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009435/0.5086, allocations: 35.81 kB / 0.7801 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.5098, allocations: 417.2 kB / 0.7805 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.5123, allocations: 1.166 MB / 0.7817 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.5137, allocations: 0.6931 MB / 0.7823 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.5157, allocations: 2.017 MB / 0.7843 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009367/0.5167, allocations: 0.8398 MB / 0.7851 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.5202, allocations: 1.81 MB / 0.7869 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.5214, allocations: 0.6621 MB / 0.7875 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.5216, allocations: 80 kB / 0.7876 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.5232, allocations: 0.8652 MB / 0.7885 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.5236, allocations: 383 kB / 0.7888 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.5241, allocations: 0.5015 MB / 0.7893 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.5257, allocations: 1.476 MB / 0.7907 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5257, allocations: 0 / 0.7907 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5257, allocations: 0 / 0.7907 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.5257, allocations: 3.938 kB / 0.7908 GB, free: 9.539 MB / 0.6075 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.001681/0.5274, allocations: 1.234 MB / 0.792 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.5275, allocations: 12.03 kB / 0.792 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.5276, allocations: 122.5 kB / 0.7921 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5287, allocations: 214.6 kB / 0.7923 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.5296, allocations: 0.6467 MB / 0.7929 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.5297, allocations: 58 kB / 0.793 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5298, allocations: 76 kB / 0.7931 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5309, allocations: 0.9249 MB / 0.794 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.531, allocations: 11.88 kB / 0.794 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.531, allocations: 32 kB / 0.794 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.5311, allocations: 33.31 kB / 0.794 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009587/0.532, allocations: 0.6138 MB / 0.7946 GB, free: 5.391 MB / 0.6075 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.003781/0.5358, allocations: 4.597 MB / 0.7991 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.5366, allocations: 0.5448 MB / 0.7996 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.5369, allocations: 248.9 kB / 0.7999 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.5371, allocations: 97.09 kB / 0.8 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5371, allocations: 50.5 kB / 0.8 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.5371, allocations: 0 / 0.8 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002469/0.5396, allocations: 1.577 MB / 0.8016 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.5396, allocations: 115 kB / 0.8017 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.5404, allocations: 0.7193 MB / 0.8024 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.5404, allocations: 33.7 kB / 0.8024 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.5407, allocations: 419.7 kB / 0.8028 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.5409, allocations: 157.8 kB / 0.803 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.541, allocations: 118.2 kB / 0.8031 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5412, allocations: 334 kB / 0.8034 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.5414, allocations: 185.2 kB / 0.8036 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.5418, allocations: 420.9 kB / 0.804 GB, free: 11.25 MB / 0.6231 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.002018/0.5439, allocations: 1.168 MB / 0.8051 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5439, allocations: 4 kB / 0.8051 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008842/0.5448, allocations: 0.6635 MB / 0.8058 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5448, allocations: 12.77 kB / 0.8058 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5448, allocations: 8 kB / 0.8058 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5448, allocations: 12 kB / 0.8058 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.5453, allocations: 127.8 kB / 0.8059 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5453, allocations: 11.94 kB / 0.8059 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.5458, allocations: 24.86 kB / 0.806 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.5459, allocations: 32 kB / 0.806 GB, free: 9.078 MB / 0.6231 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.0002953/0.5462, allocations: 269.6 kB / 0.8062 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.5463, allocations: 86.91 kB / 0.8063 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.5465, allocations: 91.66 kB / 0.8064 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5465, allocations: 8 kB / 0.8064 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5465, allocations: 0 / 0.8064 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000653/0.5471, allocations: 0.7028 MB / 0.8071 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.5492, allocations: 1.637 MB / 0.8087 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5493, allocations: 11.88 kB / 0.8087 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.5497, allocations: 103.9 kB / 0.8088 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.5497, allocations: 8 kB / 0.8088 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5498, allocations: 12 kB / 0.8088 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.5498, allocations: 4 kB / 0.8088 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5498, allocations: 7.938 kB / 0.8088 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.5508, allocations: 0.891 MB / 0.8097 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.551, allocations: 212 kB / 0.8099 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.5511, allocations: 16 kB / 0.8099 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.5516, allocations: 25.34 kB / 0.81 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.5516, allocations: 35.84 kB / 0.81 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.5517, allocations: 23.98 kB / 0.81 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005484/0.5522, allocations: 0.5107 MB / 0.8105 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5522, allocations: 0 / 0.8105 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006214/0.5529, allocations: 204 kB / 0.8107 GB, free: 3.965 MB / 0.6231 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.001484/0.5544, allocations: 1.52 MB / 0.8122 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000763/0.5551, allocations: 0.5232 MB / 0.8127 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5551, allocations: 4 kB / 0.8127 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.5554, allocations: 217.6 kB / 0.8129 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.5574, allocations: 490.6 kB / 0.8134 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.565, allocations: 6.908 MB / 0.8201 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.5656, allocations: 1.024 MB / 0.8211 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006233/0.5662, allocations: 199 kB / 0.8213 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.5666, allocations: 295.3 kB / 0.8216 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.5666, allocations: 0 / 0.8216 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8947/1.461, allocations: 22.05 MB / 0.8431 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.07/20.53, allocations: 7.422 kB / 0.8431 GB, free: 2.684 MB / 0.6544 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)