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.005287/0.005287, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001519/0.001519, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 282.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 103.5 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4161, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2137/0.6298, allocations: 190.3 MB / 0.9672 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009416/0.6393, allocations: 5.691 MB / 0.9728 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.6405, allocations: 43.75 kB / 0.9728 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.6422, allocations: 0.5708 MB / 0.9734 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.6463, allocations: 1.61 MB / 0.9749 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.6494, allocations: 1.197 MB / 0.9761 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003349/0.6528, allocations: 2.508 MB / 0.9786 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.6542, allocations: 0.9926 MB / 0.9795 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.656, allocations: 1.031 MB / 0.9805 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.6577, allocations: 0.8157 MB / 0.9813 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.6579, allocations: 104 kB / 0.9814 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.6608, allocations: 1.52 MB / 0.9829 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.6614, allocations: 498.9 kB / 0.9834 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.6622, allocations: 0.626 MB / 0.984 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.6652, allocations: 2.114 MB / 0.9861 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6653, allocations: 4 kB / 0.9861 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6653, allocations: 0 / 0.9861 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.6653, allocations: 0 / 0.9861 GB, free: 12.91 MB / 0.7481 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.002302/0.6676, allocations: 1.513 MB / 0.9875 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6676, allocations: 8.031 kB / 0.9876 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.6678, allocations: 135.2 kB / 0.9877 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.6697, allocations: 338.9 kB / 0.988 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.671, allocations: 0.8162 MB / 0.9888 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.6711, allocations: 65.98 kB / 0.9889 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6712, allocations: 83.95 kB / 0.9889 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.673, allocations: 1.074 MB / 0.99 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.673, allocations: 3.938 kB / 0.99 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.6731, allocations: 40 kB / 0.99 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.6732, allocations: 30 kB / 0.9901 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.6747, allocations: 0.8314 MB / 0.9909 GB, free: 7.844 MB / 0.7481 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.005564/0.6803, allocations: 4.271 MB / 0.995 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.6809, allocations: 378.5 kB / 0.9954 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.6813, allocations: 212.7 kB / 0.9956 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.6814, allocations: 101.1 kB / 0.9957 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.6815, allocations: 42.56 kB / 0.9957 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.6815, allocations: 0 / 0.9957 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38): time 0.002436/0.6839, allocations: 1.346 MB / 0.9971 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.684, allocations: 55.41 kB / 0.9971 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.6854, allocations: 1.004 MB / 0.9981 GB, free: 52 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.6854, allocations: 33.7 kB / 0.9981 GB, free: 12 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.6858, allocations: 0.5002 MB / 0.9986 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.686, allocations: 146.8 kB / 0.9988 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.6862, allocations: 122.2 kB / 0.9989 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6863, allocations: 334 kB / 0.9992 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.6868, allocations: 233.2 kB / 0.9994 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.6875, allocations: 427.8 kB / 0.9998 GB, free: 14.18 MB / 0.7637 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.002534/0.69, allocations: 1.214 MB / 1.001 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.69, allocations: 0 / 1.001 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00138/0.6914, allocations: 0.7773 MB / 1.002 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6914, allocations: 8 kB / 1.002 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.6914, allocations: 7.938 kB / 1.002 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.6915, allocations: 15.88 kB / 1.002 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.692, allocations: 148.2 kB / 1.002 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.6921, allocations: 15.92 kB / 1.002 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.6929, allocations: 47.95 kB / 1.002 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.6929, allocations: 24 kB / 1.002 GB, free: 11.83 MB / 0.7637 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.0004168/0.6933, allocations: 323.2 kB / 1.002 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6935, allocations: 103.3 kB / 1.002 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.6937, allocations: 113 kB / 1.003 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6937, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6937, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007269/0.6945, allocations: 0.679 MB / 1.003 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.6968, allocations: 1.58 MB / 1.005 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6968, allocations: 4 kB / 1.005 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.6972, allocations: 87.89 kB / 1.005 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6972, allocations: 4 kB / 1.005 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.6972, allocations: 12.5 kB / 1.005 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.6973, allocations: 19.88 kB / 1.005 GB, free: 8.715 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6973, allocations: 4 kB / 1.005 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.6983, allocations: 0.8335 MB / 1.006 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.6987, allocations: 240.4 kB / 1.006 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6988, allocations: 23.88 kB / 1.006 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.6994, allocations: 33.8 kB / 1.006 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.6995, allocations: 39.89 kB / 1.006 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/0.6996, allocations: 20 kB / 1.006 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001006/0.7006, allocations: 0.7116 MB / 1.007 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7006, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007574/0.7014, allocations: 263.9 kB / 1.007 GB, free: 6.465 MB / 0.7637 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.001698/0.7031, allocations: 1.493 MB / 1.008 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009296/0.704, allocations: 0.4999 MB / 1.009 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.704, allocations: 0 / 1.009 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.7043, allocations: 189.2 kB / 1.009 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.7069, allocations: 0.6116 MB / 1.01 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.7174, allocations: 7.627 MB / 1.017 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.7182, allocations: 1.099 MB / 1.018 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008047/0.719, allocations: 244.3 kB / 1.018 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.7195, allocations: 351.3 kB / 1.019 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.635e-06/0.7195, allocations: 0 / 1.019 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06041/0.7799, allocations: 27.82 MB / 1.046 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.051/9.831, allocations: 15.47 kB / 1.046 GB, free: 14.56 MB / 0.8106 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)