Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_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.001071/0.001071, allocations: 109.3 kB / 16.27 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.001114/0.001114, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7287/0.7287, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2905, allocations: 77.94 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4373/0.7278, allocations: 187.1 MB / 0.75 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.7405, allocations: 13.02 MB / 0.7627 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000831/0.7413, allocations: 29.75 kB / 0.7627 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.7424, allocations: 412.5 kB / 0.7631 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.7441, allocations: 0.922 MB / 0.764 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.7457, allocations: 0.702 MB / 0.7647 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.7473, allocations: 1.508 MB / 0.7662 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008587/0.7482, allocations: 0.6454 MB / 0.7668 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.7513, allocations: 1.721 MB / 0.7685 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009669/0.7523, allocations: 0.5011 MB / 0.769 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.7524, allocations: 54.62 kB / 0.769 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.7538, allocations: 0.8792 MB / 0.7699 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.7541, allocations: 279 kB / 0.7701 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.7545, allocations: 387.8 kB / 0.7705 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.7557, allocations: 1.147 MB / 0.7716 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7557, allocations: 4.031 kB / 0.7716 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7557, allocations: 0 / 0.7716 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.7557, allocations: 6.312 kB / 0.7716 GB, free: 1.5 MB / 0.5762 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.001297/0.757, allocations: 1.045 MB / 0.7727 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.7571, allocations: 10 kB / 0.7727 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.907e-05/0.7572, allocations: 109.4 kB / 0.7728 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008868/0.7581, allocations: 185.5 kB / 0.773 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.7587, allocations: 0.523 MB / 0.7735 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.7591, allocations: 102 kB / 0.7736 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.7592, allocations: 60.88 kB / 0.7736 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.7603, allocations: 0.7794 MB / 0.7744 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.7603, allocations: 5.562 kB / 0.7744 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.7603, allocations: 25.88 kB / 0.7744 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.7604, allocations: 22.12 kB / 0.7744 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009483/0.7614, allocations: 469.2 kB / 0.7749 GB, free: 16.18 MB / 0.5919 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.003396/0.7648, allocations: 4.407 MB / 0.7792 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.7649, allocations: 108.7 kB / 0.7793 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.765, allocations: 72.42 kB / 0.7794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.7651, allocations: 95.92 kB / 0.7794 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7652, allocations: 44.39 kB / 0.7795 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.7652, allocations: 0 / 0.7795 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006097/0.7658, allocations: 244 kB / 0.7797 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.7659, allocations: 135 kB / 0.7798 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.7668, allocations: 0.8467 MB / 0.7807 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.7669, allocations: 32.94 kB / 0.7807 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7671, allocations: 400.1 kB / 0.7811 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.7672, allocations: 44.92 kB / 0.7811 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.7673, allocations: 88.69 kB / 0.7812 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.7674, allocations: 323.9 kB / 0.7815 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.7676, allocations: 114.5 kB / 0.7816 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.7681, allocations: 371.4 kB / 0.782 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.7686, allocations: 442.8 kB / 0.7824 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.7686, allocations: 3.219 kB / 0.7824 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008429/0.7694, allocations: 0.504 MB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7695, allocations: 9.25 kB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7695, allocations: 9.062 kB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7695, allocations: 19.19 kB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.7698, allocations: 97.94 kB / 0.783 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7698, allocations: 17.08 kB / 0.7831 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.7705, allocations: 123.3 kB / 0.7832 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.7705, allocations: 24.78 kB / 0.7832 GB, free: 10.95 MB / 0.5919 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.000207/0.7708, allocations: 231.5 kB / 0.7834 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.7709, allocations: 69.56 kB / 0.7835 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.164e-05/0.771, allocations: 78.67 kB / 0.7836 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.771, allocations: 2.281 kB / 0.7836 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.771, allocations: 4.844 kB / 0.7836 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.771, allocations: 3.984 kB / 0.7836 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.7721, allocations: 1.118 MB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7722, allocations: 2.438 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.7722, allocations: 19.06 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.7722, allocations: 6.094 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.7723, allocations: 7.688 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7723, allocations: 5.062 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7723, allocations: 3.297 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.7725, allocations: 268.1 kB / 0.785 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.7727, allocations: 178.6 kB / 0.7851 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.752e-05/0.7728, allocations: 2.969 kB / 0.7851 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.7732, allocations: 24.38 kB / 0.7851 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.7732, allocations: 16.91 kB / 0.7852 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.7732, allocations: 3.656 kB / 0.7852 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006743/0.7739, allocations: 0.5947 MB / 0.7858 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7739, allocations: 2.781 kB / 0.7858 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004975/0.7744, allocations: 155.7 kB / 0.7859 GB, free: 9.672 MB / 0.5919 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.0007482/0.7752, allocations: 0.8847 MB / 0.7868 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.7756, allocations: 243.7 kB / 0.787 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7757, allocations: 4.125 kB / 0.787 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.7757, allocations: 47.94 kB / 0.787 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.7772, allocations: 368.8 kB / 0.7874 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.7831, allocations: 5.738 MB / 0.793 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.7835, allocations: 0.9386 MB / 0.7939 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004531/0.784, allocations: 151.8 kB / 0.7941 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.7842, allocations: 231.6 kB / 0.7943 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.7842, allocations: 7.938 kB / 0.7943 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.8169, allocations: 17.81 MB / 0.8117 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/8.131, allocations: 2.438 kB / 0.8117 GB, free: 0.9375 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)