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.001252/0.001252, 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.001303/0.001303, allocations: 195.8 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 286.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9007/0.9007, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 92.66 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 86.98 MB / 0.6803 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4189/0.5515, allocations: 187.1 MB / 0.863 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.5651, allocations: 13.01 MB / 0.8757 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009119/0.5661, allocations: 31.38 kB / 0.8757 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5672, allocations: 416.4 kB / 0.8761 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.5691, allocations: 0.9221 MB / 0.877 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5706, allocations: 0.6988 MB / 0.8777 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.5719, allocations: 1.507 MB / 0.8792 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007122/0.5727, allocations: 0.6422 MB / 0.8798 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.5756, allocations: 1.716 MB / 0.8815 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.5766, allocations: 0.508 MB / 0.882 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.5767, allocations: 59.42 kB / 0.882 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.5779, allocations: 0.8667 MB / 0.8829 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.5782, allocations: 281.5 kB / 0.8831 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.5785, allocations: 384.8 kB / 0.8835 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5797, allocations: 1.157 MB / 0.8846 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5797, allocations: 0 / 0.8846 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5797, allocations: 0 / 0.8846 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.5797, allocations: 2.281 kB / 0.8846 GB, free: 2.246 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.001248/0.581, allocations: 1.051 MB / 0.8857 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.581, allocations: 10.25 kB / 0.8857 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.953e-05/0.5811, allocations: 106.9 kB / 0.8858 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/0.582, allocations: 189.9 kB / 0.886 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.5827, allocations: 0.5155 MB / 0.8865 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.583, allocations: 107.2 kB / 0.8866 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.5831, allocations: 62.27 kB / 0.8866 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5841, allocations: 0.782 MB / 0.8874 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.5841, allocations: 10.62 kB / 0.8874 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.5842, allocations: 29.53 kB / 0.8874 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.5842, allocations: 18.91 kB / 0.8874 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.5851, allocations: 476.8 kB / 0.8879 GB, free: 15.82 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.003319/0.5885, allocations: 4.408 MB / 0.8922 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.5886, allocations: 104.9 kB / 0.8923 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.5887, allocations: 69.59 kB / 0.8924 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.5888, allocations: 101.6 kB / 0.8925 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.5889, allocations: 34.55 kB / 0.8925 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.5889, allocations: 3.938 kB / 0.8925 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005936/0.5895, allocations: 240.4 kB / 0.8927 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.5895, allocations: 140.5 kB / 0.8929 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.5905, allocations: 0.8451 MB / 0.8937 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.5906, allocations: 29.7 kB / 0.8937 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.5908, allocations: 410.9 kB / 0.8941 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.5909, allocations: 36.77 kB / 0.8941 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.591, allocations: 87.67 kB / 0.8942 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.5911, allocations: 330.6 kB / 0.8945 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.5914, allocations: 109.5 kB / 0.8946 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.5918, allocations: 370.5 kB / 0.895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.5924, allocations: 442.9 kB / 0.8954 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.5924, allocations: 2.906 kB / 0.8954 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008946/0.5933, allocations: 0.5063 MB / 0.8959 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5933, allocations: 7.469 kB / 0.8959 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5933, allocations: 7.375 kB / 0.8959 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5933, allocations: 11.66 kB / 0.8959 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.5937, allocations: 101.6 kB / 0.896 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.5937, allocations: 17.86 kB / 0.8961 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.5943, allocations: 122 kB / 0.8962 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.5944, allocations: 27.55 kB / 0.8962 GB, free: 8.582 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002161/0.5946, allocations: 225.7 kB / 0.8964 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.5947, allocations: 76.59 kB / 0.8965 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.5948, allocations: 73.2 kB / 0.8966 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5948, allocations: 2.594 kB / 0.8966 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5949, allocations: 4 kB / 0.8966 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5949, allocations: 6.938 kB / 0.8966 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.596, allocations: 1.119 MB / 0.8977 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.596, allocations: 2.719 kB / 0.8977 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.5961, allocations: 24.23 kB / 0.8977 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5961, allocations: 4.906 kB / 0.8977 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.5961, allocations: 2.312 kB / 0.8977 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5961, allocations: 6.812 kB / 0.8977 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5961, allocations: 4.688 kB / 0.8977 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.5964, allocations: 270.9 kB / 0.898 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.5966, allocations: 171.2 kB / 0.8981 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/0.5967, allocations: 2.969 kB / 0.8981 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.597, allocations: 16.58 kB / 0.8982 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.5971, allocations: 25.2 kB / 0.8982 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.5971, allocations: 5.25 kB / 0.8982 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007314/0.5978, allocations: 0.5945 MB / 0.8988 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5978, allocations: 2.812 kB / 0.8988 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005216/0.5983, allocations: 151.7 kB / 0.8989 GB, free: 6.438 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.0008407/0.5992, allocations: 0.8949 MB / 0.8998 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.5997, allocations: 253.1 kB / 0.9 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.5997, allocations: 0 / 0.9 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.5998, allocations: 47.92 kB / 0.9001 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6014, allocations: 373.7 kB / 0.9004 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/0.6081, allocations: 5.725 MB / 0.906 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.6086, allocations: 0.9409 MB / 0.9069 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005/0.6091, allocations: 154.1 kB / 0.9071 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.6093, allocations: 231.4 kB / 0.9073 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.6094, allocations: 4 kB / 0.9073 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.6475, allocations: 17.84 MB / 0.9247 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.201/7.849, allocations: 14.84 kB / 0.9247 GB, free: 11.97 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)