Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.00122/0.001221, allocations: 108 kB / 15.61 MB, free: 152 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.001295/0.001295, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.194/1.194, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 286.8 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8625/0.8625, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 99.33 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1252, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4171/0.5423, allocations: 190.3 MB / 0.8661 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007802/0.5501, allocations: 5.681 MB / 0.8717 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/0.5509, allocations: 43.28 kB / 0.8717 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5521, allocations: 0.5618 MB / 0.8723 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.5551, allocations: 1.608 MB / 0.8739 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.5574, allocations: 1.198 MB / 0.875 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.5594, allocations: 2.507 MB / 0.8775 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009323/0.5604, allocations: 0.9931 MB / 0.8784 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.5615, allocations: 1.021 MB / 0.8794 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.5628, allocations: 0.8208 MB / 0.8802 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.5629, allocations: 104.2 kB / 0.8803 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.565, allocations: 1.519 MB / 0.8818 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.5654, allocations: 497.4 kB / 0.8823 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.5659, allocations: 0.6303 MB / 0.8829 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.5678, allocations: 2.088 MB / 0.885 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.5678, allocations: 0 / 0.885 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5678, allocations: 0 / 0.885 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.5679, allocations: 0 / 0.885 GB, free: 2.965 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001809/0.5697, allocations: 1.475 MB / 0.8864 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.5697, allocations: 9.625 kB / 0.8864 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.5699, allocations: 154.5 kB / 0.8865 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.5716, allocations: 319 kB / 0.8869 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.5726, allocations: 0.7746 MB / 0.8876 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.5729, allocations: 122.4 kB / 0.8877 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.573, allocations: 82.69 kB / 0.8878 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.5745, allocations: 1.082 MB / 0.8889 GB, free: 240 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5745, allocations: 10.62 kB / 0.8889 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.5746, allocations: 38 kB / 0.8889 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.5746, allocations: 31.78 kB / 0.8889 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.576, allocations: 0.8439 MB / 0.8898 GB, free: 15.79 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.004495/0.5805, allocations: 4.306 MB / 0.894 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.581, allocations: 368.3 kB / 0.8943 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.5813, allocations: 214.6 kB / 0.8945 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.5815, allocations: 97.69 kB / 0.8946 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.5815, allocations: 42.55 kB / 0.8947 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.715e-06/0.5815, allocations: 7.984 kB / 0.8947 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002087/0.5836, allocations: 1.334 MB / 0.896 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5836, allocations: 67.27 kB / 0.896 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.5848, allocations: 1.004 MB / 0.897 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.5849, allocations: 37.7 kB / 0.897 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.5852, allocations: 495.2 kB / 0.8975 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.5853, allocations: 134.1 kB / 0.8976 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.5855, allocations: 130.1 kB / 0.8978 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.5856, allocations: 330 kB / 0.8981 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.586, allocations: 237.2 kB / 0.8983 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.5866, allocations: 428.5 kB / 0.8987 GB, free: 7.105 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.5888, allocations: 1.227 MB / 0.8999 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5889, allocations: 0 / 0.8999 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001259/0.5901, allocations: 0.7731 MB / 0.9007 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5901, allocations: 8 kB / 0.9007 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5902, allocations: 7.938 kB / 0.9007 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5902, allocations: 12 kB / 0.9007 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.5907, allocations: 144.1 kB / 0.9008 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5907, allocations: 12.02 kB / 0.9008 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/0.5916, allocations: 71.88 kB / 0.9009 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.5916, allocations: 29.23 kB / 0.9009 GB, free: 4.727 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * 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.592, allocations: 311.6 kB / 0.9012 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.5921, allocations: 94.88 kB / 0.9013 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.5923, allocations: 112.9 kB / 0.9014 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5923, allocations: 4 kB / 0.9014 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5923, allocations: 0 / 0.9014 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005847/0.5929, allocations: 0.6713 MB / 0.9021 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.5949, allocations: 1.593 MB / 0.9037 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5949, allocations: 4 kB / 0.9037 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.5953, allocations: 79.91 kB / 0.9037 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/0.5953, allocations: 6.25 kB / 0.9037 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.5953, allocations: 19.98 kB / 0.9038 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5954, allocations: 7.938 kB / 0.9038 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.5954, allocations: 11.94 kB / 0.9038 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.5963, allocations: 0.8291 MB / 0.9046 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.5967, allocations: 235.9 kB / 0.9048 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5968, allocations: 27.86 kB / 0.9048 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.5974, allocations: 35.97 kB / 0.9049 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5975, allocations: 39.84 kB / 0.9049 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.5975, allocations: 23.98 kB / 0.9049 GB, free: 356 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009148/0.5985, allocations: 0.7078 MB / 0.9056 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5985, allocations: 4 kB / 0.9056 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007049/0.5992, allocations: 264 kB / 0.9059 GB, free: 15.36 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001399/0.6006, allocations: 1.475 MB / 0.9073 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008897/0.6015, allocations: 0.5426 MB / 0.9079 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6015, allocations: 4 kB / 0.9079 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.6018, allocations: 185.5 kB / 0.908 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.6043, allocations: 0.6268 MB / 0.9086 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009358/0.6136, allocations: 8.02 MB / 0.9165 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.6142, allocations: 1.099 MB / 0.9176 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007875/0.615, allocations: 244.2 kB / 0.9178 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.6154, allocations: 347.3 kB / 0.9181 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.6154, allocations: 0 / 0.9181 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.304/5.92, allocations: 27.61 MB / 0.9451 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/17.72, allocations: 16.72 kB / 0.9451 GB, free: 7.137 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)