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.001454/0.001454, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001099/0.001099, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 294.7 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9051/0.9051, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 98.05 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, allocations: 86.97 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4461/0.5849, allocations: 184.8 MB / 0.8602 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.598, allocations: 12.96 MB / 0.8729 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.5989, allocations: 29.62 kB / 0.8729 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.6, allocations: 371.3 kB / 0.8733 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.6024, allocations: 1.082 MB / 0.8743 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.6038, allocations: 0.6374 MB / 0.8749 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.6056, allocations: 2.017 MB / 0.8769 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008149/0.6064, allocations: 0.8114 MB / 0.8777 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.6094, allocations: 1.763 MB / 0.8794 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.6106, allocations: 0.7064 MB / 0.8801 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.6107, allocations: 84.31 kB / 0.8802 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.6121, allocations: 0.9102 MB / 0.8811 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.6124, allocations: 385.7 kB / 0.8814 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.6128, allocations: 0.4984 MB / 0.8819 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.6142, allocations: 1.541 MB / 0.8834 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6142, allocations: 0 / 0.8834 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6142, allocations: 0 / 0.8834 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.6142, allocations: 0 / 0.8834 GB, free: 3.613 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.001487/0.6157, allocations: 1.234 MB / 0.8846 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.6158, allocations: 9.562 kB / 0.8846 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.6159, allocations: 126.9 kB / 0.8848 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.617, allocations: 217.7 kB / 0.885 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.6178, allocations: 0.6413 MB / 0.8856 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.6179, allocations: 62.72 kB / 0.8857 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.618, allocations: 77.78 kB / 0.8857 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.6191, allocations: 0.9306 MB / 0.8866 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.6191, allocations: 6.812 kB / 0.8867 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.6192, allocations: 35.34 kB / 0.8867 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.6192, allocations: 28.97 kB / 0.8867 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.6201, allocations: 0.6245 MB / 0.8873 GB, free: 0.8594 MB / 0.5919 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.003569/0.6237, allocations: 4.585 MB / 0.8918 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.6244, allocations: 0.5421 MB / 0.8923 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.6247, allocations: 247.4 kB / 0.8926 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.6248, allocations: 103.5 kB / 0.8927 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.6249, allocations: 46.16 kB / 0.8927 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.6249, allocations: 0 / 0.8927 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002369/0.6273, allocations: 1.593 MB / 0.8943 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6273, allocations: 109.5 kB / 0.8944 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.628, allocations: 0.7155 MB / 0.8951 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.628, allocations: 36.64 kB / 0.8951 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.6283, allocations: 409.6 kB / 0.8955 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6284, allocations: 166.1 kB / 0.8957 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.6286, allocations: 115.1 kB / 0.8958 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.6287, allocations: 335 kB / 0.8961 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.629, allocations: 186.7 kB / 0.8963 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.6294, allocations: 413 kB / 0.8967 GB, free: 8.855 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.002034/0.6314, allocations: 1.196 MB / 0.8978 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6314, allocations: 0 / 0.8978 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008741/0.6323, allocations: 0.6604 MB / 0.8985 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6323, allocations: 11.94 kB / 0.8985 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6324, allocations: 11.98 kB / 0.8985 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6324, allocations: 8 kB / 0.8985 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.6328, allocations: 127.8 kB / 0.8986 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6328, allocations: 8 kB / 0.8986 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.6334, allocations: 60.05 kB / 0.8987 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.6334, allocations: 28 kB / 0.8987 GB, free: 6.641 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.0002935/0.6337, allocations: 275.5 kB / 0.899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6339, allocations: 86.91 kB / 0.8991 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.634, allocations: 95.66 kB / 0.8991 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.634, allocations: 4 kB / 0.8992 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.6341, allocations: 1.75 kB / 0.8992 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.6347, allocations: 0.695 MB / 0.8998 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.6367, allocations: 1.644 MB / 0.9014 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6367, allocations: 4 kB / 0.9014 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.6372, allocations: 99.83 kB / 0.9015 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6372, allocations: 7.938 kB / 0.9015 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.6372, allocations: 16 kB / 0.9016 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.6372, allocations: 15.92 kB / 0.9016 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6372, allocations: 7.938 kB / 0.9016 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.6382, allocations: 0.8689 MB / 0.9024 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.6384, allocations: 212 kB / 0.9026 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.6385, allocations: 17.5 kB / 0.9026 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.639, allocations: 39.95 kB / 0.9027 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.6391, allocations: 43.84 kB / 0.9027 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.6391, allocations: 23.98 kB / 0.9028 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005138/0.6396, allocations: 0.5029 MB / 0.9032 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6396, allocations: 0 / 0.9032 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006178/0.6402, allocations: 204 kB / 0.9034 GB, free: 1.523 MB / 0.6075 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.00142/0.6417, allocations: 1.504 MB / 0.9049 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007596/0.6424, allocations: 0.5093 MB / 0.9054 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6424, allocations: 4 kB / 0.9054 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.6427, allocations: 212.2 kB / 0.9056 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.6446, allocations: 480 kB / 0.9061 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/0.6526, allocations: 7.176 MB / 0.9131 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.6531, allocations: 1.028 MB / 0.9141 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005911/0.6537, allocations: 207 kB / 0.9143 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.6541, allocations: 295.3 kB / 0.9146 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.6541, allocations: 0 / 0.9146 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.754/2.408, allocations: 21.9 MB / 0.9359 GB, free: 244 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/2.408, allocations: 294.4 kB / 0.9362 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/5.079, allocations: 0 / 0.9362 GB, free: 15.86 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)