Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.0008149/0.0008149, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004856/0.004856, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001633/0.001633, allocations: 273.9 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8413/0.8413, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 15.97 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4716/0.5972, allocations: 182.4 MB / 0.8634 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.6102, allocations: 12.9 MB / 0.876 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.6109, allocations: 28.84 kB / 0.876 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.6118, allocations: 338.3 kB / 0.8763 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6134, allocations: 0.8648 MB / 0.8772 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.6147, allocations: 0.6175 MB / 0.8778 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.6171, allocations: 2.107 MB / 0.8798 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009605/0.618, allocations: 0.5356 MB / 0.8803 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.6225, allocations: 1.575 MB / 0.8819 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.6239, allocations: 0.4999 MB / 0.8824 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.624, allocations: 32.28 kB / 0.8824 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.6255, allocations: 0.9538 MB / 0.8833 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.6257, allocations: 252.2 kB / 0.8836 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.626, allocations: 372.6 kB / 0.8839 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.6273, allocations: 1.164 MB / 0.8851 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6273, allocations: 4 kB / 0.8851 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6273, allocations: 0 / 0.8851 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6273, allocations: 0 / 0.8851 GB, free: 3.148 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001257/0.6286, allocations: 0.9161 MB / 0.886 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6286, allocations: 12.03 kB / 0.886 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.6288, allocations: 98.52 kB / 0.8861 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6298, allocations: 206.8 kB / 0.8863 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.6305, allocations: 0.5246 MB / 0.8868 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.6309, allocations: 109.2 kB / 0.8869 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.631, allocations: 60 kB / 0.8869 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.6321, allocations: 0.7636 MB / 0.8877 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6321, allocations: 7.938 kB / 0.8877 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.6322, allocations: 27.94 kB / 0.8877 GB, free: 244 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.6322, allocations: 24.98 kB / 0.8877 GB, free: 220 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/0.6331, allocations: 479.3 kB / 0.8882 GB, free: 15.74 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.002986/0.6361, allocations: 4.175 MB / 0.8923 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.797e-05/0.6362, allocations: 106.4 kB / 0.8924 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.6363, allocations: 75.5 kB / 0.8924 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.6364, allocations: 97.09 kB / 0.8925 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.6365, allocations: 34.5 kB / 0.8926 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.6365, allocations: 0 / 0.8926 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005424/0.637, allocations: 252.5 kB / 0.8928 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.6371, allocations: 132.8 kB / 0.8929 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009464/0.638, allocations: 0.833 MB / 0.8938 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6381, allocations: 33.7 kB / 0.8938 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.6383, allocations: 398.9 kB / 0.8942 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.6383, allocations: 39.53 kB / 0.8942 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.6384, allocations: 33.7 kB / 0.8942 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.6385, allocations: 321.9 kB / 0.8945 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.6387, allocations: 115.9 kB / 0.8947 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.6391, allocations: 357.8 kB / 0.895 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.6397, allocations: 415.3 kB / 0.8954 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6397, allocations: 0 / 0.8954 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008239/0.6405, allocations: 0.5004 MB / 0.8959 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6405, allocations: 8 kB / 0.8959 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6405, allocations: 4 kB / 0.8959 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6406, allocations: 12 kB / 0.8959 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.6409, allocations: 96.36 kB / 0.896 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6409, allocations: 15.92 kB / 0.896 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.6415, allocations: 138.9 kB / 0.8961 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.6415, allocations: 24 kB / 0.8962 GB, free: 7.004 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002067/0.6418, allocations: 226.3 kB / 0.8964 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.6419, allocations: 79.05 kB / 0.8965 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.737e-05/0.642, allocations: 66.11 kB / 0.8965 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.642, allocations: 3.984 kB / 0.8965 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.642, allocations: 4 kB / 0.8965 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.642, allocations: 3.938 kB / 0.8965 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.6431, allocations: 1.12 MB / 0.8976 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6431, allocations: 4.312 kB / 0.8976 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.6432, allocations: 20 kB / 0.8976 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6432, allocations: 3.984 kB / 0.8976 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6432, allocations: 8 kB / 0.8977 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6432, allocations: 4 kB / 0.8977 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6432, allocations: 7.938 kB / 0.8977 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.6435, allocations: 259.8 kB / 0.8979 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.6436, allocations: 168.1 kB / 0.8981 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.6437, allocations: 11.98 kB / 0.8981 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.644, allocations: 23.98 kB / 0.8981 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.6441, allocations: 15.86 kB / 0.8981 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.6441, allocations: 8 kB / 0.8981 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007106/0.6448, allocations: 0.5888 MB / 0.8987 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6448, allocations: 0 / 0.8987 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004637/0.6453, allocations: 155.8 kB / 0.8989 GB, free: 4.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0006965/0.646, allocations: 0.8867 MB / 0.8997 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.6464, allocations: 245 kB / 0.9 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6464, allocations: 0 / 0.9 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.6465, allocations: 51.84 kB / 0.9 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6482, allocations: 376.7 kB / 0.9004 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.6546, allocations: 5.842 MB / 0.9061 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.655, allocations: 0.937 MB / 0.907 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.6554, allocations: 142.1 kB / 0.9071 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.6556, allocations: 231.4 kB / 0.9073 GB, free: 11 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.6557, allocations: 0 / 0.9073 GB, free: 11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/0.9642, allocations: 17.32 MB / 0.9243 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.9646, allocations: 289.4 kB / 0.9245 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.053, allocations: 0 / 0.9245 GB, free: 9.727 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)