Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_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.001719/0.001719, allocations: 108 kB / 15.61 MB, free: 148 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.001069/0.001069, allocations: 197.6 kB / 16.53 MB, free: 6.656 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 286.6 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 97.84 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1333, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4378/0.5711, allocations: 187.3 MB / 0.8632 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.5852, allocations: 13.07 MB / 0.8759 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.5864, allocations: 34.53 kB / 0.8759 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.5875, allocations: 421.8 kB / 0.8763 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.59, allocations: 1.157 MB / 0.8775 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.5916, allocations: 0.6996 MB / 0.8782 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.5934, allocations: 2.021 MB / 0.8801 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008988/0.5943, allocations: 0.838 MB / 0.881 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.5975, allocations: 1.804 MB / 0.8827 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.5987, allocations: 0.6708 MB / 0.8834 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.5989, allocations: 80.62 kB / 0.8834 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.6004, allocations: 0.8597 MB / 0.8843 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.6007, allocations: 392.3 kB / 0.8847 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.6011, allocations: 0.4966 MB / 0.8851 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.6027, allocations: 1.482 MB / 0.8866 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6028, allocations: 0 / 0.8866 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6028, allocations: 0 / 0.8866 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.6028, allocations: 0 / 0.8866 GB, free: 0.9688 MB / 0.5919 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.001585/0.6044, allocations: 1.238 MB / 0.8878 GB, free: 16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6044, allocations: 9.688 kB / 0.8878 GB, free: 16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.6045, allocations: 122.3 kB / 0.8879 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.6056, allocations: 218.5 kB / 0.8881 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.6065, allocations: 0.6405 MB / 0.8888 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.6066, allocations: 62.64 kB / 0.8888 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.37e-05/0.6067, allocations: 77.84 kB / 0.8889 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6078, allocations: 0.9365 MB / 0.8898 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6078, allocations: 6.5 kB / 0.8898 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.6079, allocations: 38.31 kB / 0.8899 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.608, allocations: 26.12 kB / 0.8899 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.6088, allocations: 0.6224 MB / 0.8905 GB, free: 14.21 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.00379/0.6126, allocations: 4.602 MB / 0.895 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.6133, allocations: 0.5459 MB / 0.8955 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.6137, allocations: 251.1 kB / 0.8958 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.6138, allocations: 96.22 kB / 0.8958 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6139, allocations: 43.62 kB / 0.8959 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.6139, allocations: 0 / 0.8959 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002427/0.6163, allocations: 1.585 MB / 0.8974 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.6164, allocations: 107.8 kB / 0.8975 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.6171, allocations: 0.7216 MB / 0.8982 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.6172, allocations: 33.7 kB / 0.8983 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.6175, allocations: 411.8 kB / 0.8987 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6176, allocations: 169.6 kB / 0.8988 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.6178, allocations: 114.2 kB / 0.8989 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6179, allocations: 330 kB / 0.8993 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6182, allocations: 185.2 kB / 0.8994 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.6186, allocations: 417 kB / 0.8998 GB, free: 5.738 MB / 0.6075 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.002378/0.621, allocations: 1.188 MB / 0.901 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.621, allocations: 4 kB / 0.901 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00116/0.6222, allocations: 0.6675 MB / 0.9016 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6222, allocations: 12.72 kB / 0.9017 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.6222, allocations: 4 kB / 0.9017 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.6222, allocations: 16 kB / 0.9017 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.6227, allocations: 123.8 kB / 0.9018 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.6227, allocations: 12.94 kB / 0.9018 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.6232, allocations: 32.83 kB / 0.9018 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.6233, allocations: 28 kB / 0.9019 GB, free: 3.547 MB / 0.6075 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.0003317/0.6236, allocations: 275.5 kB / 0.9021 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6238, allocations: 86.98 kB / 0.9022 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.6239, allocations: 87.67 kB / 0.9023 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6239, allocations: 8 kB / 0.9023 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6239, allocations: 0 / 0.9023 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006674/0.6246, allocations: 0.7028 MB / 0.903 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.6268, allocations: 1.635 MB / 0.9046 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6268, allocations: 5.219 kB / 0.9046 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.6272, allocations: 103.8 kB / 0.9047 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.6273, allocations: 15.86 kB / 0.9047 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.6273, allocations: 16 kB / 0.9047 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6273, allocations: 8 kB / 0.9047 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6273, allocations: 7.938 kB / 0.9047 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.6284, allocations: 0.8688 MB / 0.9056 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.6286, allocations: 212.5 kB / 0.9058 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.6287, allocations: 15.98 kB / 0.9058 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.6292, allocations: 20 kB / 0.9058 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.6292, allocations: 43.83 kB / 0.9059 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.6293, allocations: 20.19 kB / 0.9059 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005776/0.6299, allocations: 0.5068 MB / 0.9064 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6299, allocations: 0 / 0.9064 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006668/0.6305, allocations: 208 kB / 0.9066 GB, free: 14.45 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.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.001583/0.6321, allocations: 1.494 MB / 0.908 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008811/0.633, allocations: 0.5037 MB / 0.9085 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.633, allocations: 4 kB / 0.9085 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.6333, allocations: 210.2 kB / 0.9087 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.6353, allocations: 484.2 kB / 0.9092 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/0.6437, allocations: 6.931 MB / 0.916 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.6443, allocations: 1.028 MB / 0.917 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006718/0.645, allocations: 199 kB / 0.9171 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.6454, allocations: 297.6 kB / 0.9174 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.6454, allocations: 0 / 0.9174 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.689, allocations: 22.06 MB / 0.939 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/8.311, allocations: 15.25 kB / 0.939 GB, free: 13.21 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)