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.004514/0.004514, allocations: 100 kB / 15.73 MB, free: 6.008 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.001226/0.001227, allocations: 193.1 kB / 16.67 MB, free: 5.926 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 293 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 178.6 MB / 0.5074 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 103.8 kB / 0.6943 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4239, allocations: 89.13 MB / 0.7814 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2045/0.6285, allocations: 187.1 MB / 0.9641 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.6449, allocations: 13.02 MB / 0.9768 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/0.6459, allocations: 27.88 kB / 0.9768 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.647, allocations: 413.3 kB / 0.9772 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.6491, allocations: 0.9214 MB / 0.9781 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.6509, allocations: 0.7116 MB / 0.9788 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.6527, allocations: 1.508 MB / 0.9803 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008638/0.6536, allocations: 0.6546 MB / 0.9809 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.657, allocations: 1.728 MB / 0.9826 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.6581, allocations: 0.5017 MB / 0.9831 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.881e-05/0.6582, allocations: 56 kB / 0.9831 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.6598, allocations: 0.8692 MB / 0.984 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.6601, allocations: 271.3 kB / 0.9842 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.6605, allocations: 390 kB / 0.9846 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.6621, allocations: 1.183 MB / 0.9858 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6621, allocations: 0 / 0.9858 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6621, allocations: 0 / 0.9858 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.6622, allocations: 0 / 0.9858 GB, free: 6.617 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001521/0.6637, allocations: 1.074 MB / 0.9868 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.6637, allocations: 16.03 kB / 0.9868 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.6638, allocations: 102.5 kB / 0.9869 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008988/0.6648, allocations: 195.2 kB / 0.9871 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.6656, allocations: 0.5563 MB / 0.9877 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.6657, allocations: 49.3 kB / 0.9877 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.6657, allocations: 52 kB / 0.9878 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.6669, allocations: 0.7828 MB / 0.9885 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6669, allocations: 0 / 0.9885 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.667, allocations: 31.94 kB / 0.9886 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.6671, allocations: 28.92 kB / 0.9886 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.668, allocations: 459.3 kB / 0.989 GB, free: 3.074 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.3164/0.9843, allocations: 4.382 MB / 0.9933 GB, free: 201.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.9845, allocations: 102.4 kB / 0.9934 GB, free: 201.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.9846, allocations: 71.73 kB / 0.9935 GB, free: 201.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.9847, allocations: 99.7 kB / 0.9936 GB, free: 201.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.9848, allocations: 37.39 kB / 0.9936 GB, free: 201.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 3.046e-06/0.9848, allocations: 0 / 0.9936 GB, free: 201.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006716/0.9854, allocations: 251.2 kB / 0.9938 GB, free: 201.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.9855, allocations: 131.3 kB / 0.994 GB, free: 201.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.9866, allocations: 0.846 MB / 0.9948 GB, free: 201.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.9866, allocations: 31.33 kB / 0.9948 GB, free: 201.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.9869, allocations: 408.5 kB / 0.9952 GB, free: 201 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.9869, allocations: 43.86 kB / 0.9953 GB, free: 201 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.987, allocations: 90.28 kB / 0.9953 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/0.9871, allocations: 323.2 kB / 0.9956 GB, free: 200.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.9874, allocations: 117.8 kB / 0.9958 GB, free: 200.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.9877, allocations: 361.8 kB / 0.9961 GB, free: 200.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.9882, allocations: 440 kB / 0.9965 GB, free: 199.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.9883, allocations: 2.25 kB / 0.9965 GB, free: 199.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008974/0.9892, allocations: 0.4955 MB / 0.997 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.9892, allocations: 11.34 kB / 0.997 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.9892, allocations: 8.125 kB / 0.997 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.9892, allocations: 11.11 kB / 0.997 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.9896, allocations: 100.8 kB / 0.9971 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.9896, allocations: 17.44 kB / 0.9972 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.9902, allocations: 119.3 kB / 0.9973 GB, free: 199.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.9903, allocations: 28.33 kB / 0.9973 GB, free: 199.6 MB / 0.7481 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.0002192/0.9905, allocations: 230.4 kB / 0.9975 GB, free: 199.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.9906, allocations: 80.31 kB / 0.9976 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.9908, allocations: 72.08 kB / 0.9977 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.9908, allocations: 4.156 kB / 0.9977 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9908, allocations: 2.188 kB / 0.9977 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9908, allocations: 1.859 kB / 0.9977 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.992, allocations: 1.123 MB / 0.9988 GB, free: 198.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.992, allocations: 2.484 kB / 0.9988 GB, free: 198.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.9921, allocations: 20.34 kB / 0.9988 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.9921, allocations: 7.219 kB / 0.9988 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.9921, allocations: 3.781 kB / 0.9988 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.9921, allocations: 4.109 kB / 0.9988 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9921, allocations: 5.844 kB / 0.9988 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.9924, allocations: 266.8 kB / 0.9991 GB, free: 198.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.9926, allocations: 176.4 kB / 0.9992 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.9927, allocations: 4.969 kB / 0.9992 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.993, allocations: 20.62 kB / 0.9993 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.993, allocations: 12.09 kB / 0.9993 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.993, allocations: 4.75 kB / 0.9993 GB, free: 198.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008026/0.9938, allocations: 0.5908 MB / 0.9998 GB, free: 197.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.9938, allocations: 0 / 0.9998 GB, free: 197.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005935/0.9944, allocations: 158 kB / 1 GB, free: 197.9 MB / 0.7481 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.0007682/0.9952, allocations: 0.8918 MB / 1.001 GB, free: 197.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.9958, allocations: 246.2 kB / 1.001 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9958, allocations: 3.594 kB / 1.001 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.9959, allocations: 45.91 kB / 1.001 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.9974, allocations: 377.7 kB / 1.002 GB, free: 197 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/1.005, allocations: 5.468 MB / 1.007 GB, free: 193.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.005, allocations: 0.9368 MB / 1.008 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00052/1.006, allocations: 156.6 kB / 1.008 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.006, allocations: 228.9 kB / 1.008 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.006, allocations: 1.062 kB / 1.008 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/1.051, allocations: 18 MB / 1.026 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.831/9.882, allocations: 12.16 kB / 1.026 GB, free: 184.2 MB / 0.7481 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)