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.004467/0.004467, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.001259/0.001259, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 275.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9684/0.9684, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 99.91 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1623, allocations: 86.97 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.492/0.6543, allocations: 187.1 MB / 0.9486 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.6698, allocations: 13.04 MB / 0.9614 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.6709, allocations: 27.81 kB / 0.9614 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.6723, allocations: 409.3 kB / 0.9618 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.6745, allocations: 0.9253 MB / 0.9627 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6763, allocations: 0.7144 MB / 0.9634 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.678, allocations: 1.504 MB / 0.9648 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.6789, allocations: 0.6519 MB / 0.9655 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.6821, allocations: 1.712 MB / 0.9672 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6832, allocations: 0.505 MB / 0.9677 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.6833, allocations: 56 kB / 0.9677 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.6848, allocations: 0.877 MB / 0.9686 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.6851, allocations: 287.2 kB / 0.9688 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.6854, allocations: 378 kB / 0.9692 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.6869, allocations: 1.185 MB / 0.9704 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6869, allocations: 0 / 0.9704 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.687, allocations: 7.875 kB / 0.9704 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.687, allocations: 0 / 0.9704 GB, free: 1.637 MB / 0.7169 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.001391/0.6884, allocations: 1.07 MB / 0.9714 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.6884, allocations: 12.03 kB / 0.9714 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.6885, allocations: 102.5 kB / 0.9715 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.6894, allocations: 199.2 kB / 0.9717 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/0.6902, allocations: 0.5563 MB / 0.9722 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.6903, allocations: 49.31 kB / 0.9723 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.6904, allocations: 52 kB / 0.9723 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6915, allocations: 0.775 MB / 0.9731 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6915, allocations: 4 kB / 0.9731 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.6916, allocations: 31.94 kB / 0.9731 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.6916, allocations: 24.94 kB / 0.9732 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.6925, allocations: 459.3 kB / 0.9736 GB, free: 14.11 MB / 0.7325 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.003792/0.6963, allocations: 4.379 MB / 0.9779 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.6965, allocations: 106.4 kB / 0.978 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.6966, allocations: 71.5 kB / 0.978 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.6968, allocations: 93.09 kB / 0.9781 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.6968, allocations: 42.56 kB / 0.9782 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 3.036e-06/0.6968, allocations: 0 / 0.9782 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006175/0.6974, allocations: 248.9 kB / 0.9784 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.6975, allocations: 140.8 kB / 0.9785 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6986, allocations: 0.8369 MB / 0.9794 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.6987, allocations: 33.7 kB / 0.9794 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.699, allocations: 407.7 kB / 0.9798 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.699, allocations: 43.67 kB / 0.9798 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.6992, allocations: 93.97 kB / 0.9799 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6993, allocations: 325.9 kB / 0.9802 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.6996, allocations: 112.7 kB / 0.9803 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.7001, allocations: 362 kB / 0.9807 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.7007, allocations: 439.3 kB / 0.9811 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7007, allocations: 4 kB / 0.9811 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009084/0.7016, allocations: 0.4969 MB / 0.9816 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7016, allocations: 8.844 kB / 0.9816 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7016, allocations: 8.094 kB / 0.9816 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.7017, allocations: 15.98 kB / 0.9816 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.702, allocations: 95.83 kB / 0.9817 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.702, allocations: 15.92 kB / 0.9817 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.7026, allocations: 119.3 kB / 0.9818 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.7026, allocations: 27.94 kB / 0.9819 GB, free: 5.047 MB / 0.7325 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.0002504/0.7029, allocations: 226.2 kB / 0.9821 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.7031, allocations: 87.42 kB / 0.9822 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.7032, allocations: 70.17 kB / 0.9822 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7032, allocations: 4 kB / 0.9822 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7032, allocations: 3.938 kB / 0.9822 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7032, allocations: 4 kB / 0.9822 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.7045, allocations: 1.12 MB / 0.9833 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7045, allocations: 4 kB / 0.9833 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.7046, allocations: 23.92 kB / 0.9834 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7046, allocations: 0 / 0.9834 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7046, allocations: 4 kB / 0.9834 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.7046, allocations: 4 kB / 0.9834 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7046, allocations: 4 kB / 0.9834 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.7049, allocations: 268.4 kB / 0.9836 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.7052, allocations: 180.5 kB / 0.9838 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.7053, allocations: 4 kB / 0.9838 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.7056, allocations: 23.92 kB / 0.9838 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.7056, allocations: 11.92 kB / 0.9838 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.7056, allocations: 4 kB / 0.9838 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007964/0.7064, allocations: 0.5888 MB / 0.9844 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7064, allocations: 0 / 0.9844 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005072/0.7069, allocations: 155.8 kB / 0.9846 GB, free: 2.117 MB / 0.7325 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.0009222/0.7079, allocations: 0.904 MB / 0.9854 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.7084, allocations: 244.6 kB / 0.9857 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7084, allocations: 0 / 0.9857 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.7085, allocations: 45.3 kB / 0.9857 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.7099, allocations: 393.5 kB / 0.9861 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/0.7169, allocations: 5.466 MB / 0.9914 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.7175, allocations: 0.9369 MB / 0.9924 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.7179, allocations: 146.1 kB / 0.9925 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.7182, allocations: 235.4 kB / 0.9927 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.7182, allocations: 0 / 0.9927 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.761, allocations: 17.99 MB / 1.01 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/9.289, allocations: 15.75 kB / 1.01 GB, free: 7.797 MB / 0.7637 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)