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.00124/0.00124, 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.001257/0.001256, allocations: 194.9 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002369/0.002369, allocations: 275 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 98.83 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1485, allocations: 89.15 MB / 0.6936 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4491/0.5977, allocations: 187.1 MB / 0.8763 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.6126, allocations: 13.02 MB / 0.889 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000955/0.6136, allocations: 25.81 kB / 0.889 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.6148, allocations: 414.8 kB / 0.8894 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.6169, allocations: 0.9292 MB / 0.8903 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6187, allocations: 0.6996 MB / 0.891 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.6206, allocations: 1.504 MB / 0.8925 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000885/0.6215, allocations: 0.6612 MB / 0.8931 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.6248, allocations: 1.716 MB / 0.8948 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.6259, allocations: 0.5037 MB / 0.8953 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.626, allocations: 59.94 kB / 0.8954 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.6275, allocations: 0.8614 MB / 0.8962 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.6278, allocations: 279.2 kB / 0.8965 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.6282, allocations: 394 kB / 0.8968 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.6297, allocations: 1.153 MB / 0.898 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6297, allocations: 0 / 0.898 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6297, allocations: 0 / 0.898 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6297, allocations: 0 / 0.898 GB, free: 10.22 MB / 0.6231 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.001419/0.6311, allocations: 1.051 MB / 0.899 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.6312, allocations: 20.02 kB / 0.899 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.6313, allocations: 94.52 kB / 0.8991 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/0.6322, allocations: 190.9 kB / 0.8993 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000749/0.633, allocations: 0.5246 MB / 0.8998 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.6333, allocations: 103.1 kB / 0.8999 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.6334, allocations: 52 kB / 0.8999 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6346, allocations: 0.7834 MB / 0.9007 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6346, allocations: 7.938 kB / 0.9007 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.6347, allocations: 27.94 kB / 0.9007 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.6347, allocations: 25 kB / 0.9008 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.6357, allocations: 469.6 kB / 0.9012 GB, free: 6.684 MB / 0.6231 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.004053/0.6398, allocations: 4.416 MB / 0.9055 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.6399, allocations: 98.44 kB / 0.9056 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.64, allocations: 79.5 kB / 0.9057 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.6402, allocations: 89.09 kB / 0.9058 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6402, allocations: 42.5 kB / 0.9058 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.6402, allocations: 4 kB / 0.9058 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.000652/0.6409, allocations: 236.5 kB / 0.9061 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.641, allocations: 132.5 kB / 0.9062 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.6422, allocations: 0.8527 MB / 0.907 GB, free: 404 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.6422, allocations: 29.7 kB / 0.907 GB, free: 368 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.6426, allocations: 407 kB / 0.9074 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.6426, allocations: 31.55 kB / 0.9075 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6427, allocations: 93.88 kB / 0.9075 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6429, allocations: 325.9 kB / 0.9079 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.6432, allocations: 116.7 kB / 0.908 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.6437, allocations: 374.1 kB / 0.9083 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.6444, allocations: 452.1 kB / 0.9088 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6444, allocations: 0 / 0.9088 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009988/0.6454, allocations: 0.5008 MB / 0.9092 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6454, allocations: 12 kB / 0.9093 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6455, allocations: 8.094 kB / 0.9093 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.6455, allocations: 15.94 kB / 0.9093 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.6458, allocations: 95.81 kB / 0.9094 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.6458, allocations: 15.94 kB / 0.9094 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.6465, allocations: 130.8 kB / 0.9095 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.6465, allocations: 28 kB / 0.9095 GB, free: 13.55 MB / 0.6387 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.0002496/0.6468, allocations: 225.6 kB / 0.9098 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.647, allocations: 75.14 kB / 0.9098 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.6471, allocations: 74.17 kB / 0.9099 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6471, allocations: 4 kB / 0.9099 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6471, allocations: 0 / 0.9099 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6471, allocations: 3.938 kB / 0.9099 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.6484, allocations: 1.12 MB / 0.911 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6485, allocations: 5.5 kB / 0.911 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.6485, allocations: 16.31 kB / 0.911 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6486, allocations: 4 kB / 0.911 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.6486, allocations: 4 kB / 0.911 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.6486, allocations: 11.92 kB / 0.911 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6486, allocations: 0 / 0.911 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.6489, allocations: 263.8 kB / 0.9113 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.6491, allocations: 172.2 kB / 0.9115 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.6492, allocations: 7.984 kB / 0.9115 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.6496, allocations: 23.98 kB / 0.9115 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.6496, allocations: 11.88 kB / 0.9115 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6496, allocations: 8.812 kB / 0.9115 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008468/0.6505, allocations: 0.5966 MB / 0.9121 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6505, allocations: 0 / 0.9121 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005413/0.651, allocations: 155.8 kB / 0.9122 GB, free: 10.63 MB / 0.6387 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.0009319/0.652, allocations: 0.8947 MB / 0.9131 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.6525, allocations: 246.2 kB / 0.9133 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6525, allocations: 192 / 0.9133 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.6526, allocations: 55.84 kB / 0.9134 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6542, allocations: 382.5 kB / 0.9138 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.6617, allocations: 5.717 MB / 0.9193 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.6623, allocations: 0.9408 MB / 0.9203 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00049/0.6628, allocations: 146.1 kB / 0.9204 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.6631, allocations: 235.3 kB / 0.9206 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6631, allocations: 0 / 0.9206 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.7081, allocations: 17.84 MB / 0.938 GB, free: 200 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.579, allocations: 4.234 kB / 0.9381 GB, free: 200 kB / 0.6544 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)