Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001084/0.001084, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001224/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9168/0.9168, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003031, allocations: 8 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5454/0.7039, allocations: 170.3 MB / 0.7538 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.7186, allocations: 12.13 MB / 0.7656 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.7198, allocations: 27.88 kB / 0.7657 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.7209, allocations: 290 kB / 0.7659 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.7237, allocations: 0.8863 MB / 0.7668 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.7254, allocations: 0.526 MB / 0.7673 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.7282, allocations: 2.339 MB / 0.7696 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.7293, allocations: 0.6114 MB / 0.7702 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.7327, allocations: 1.357 MB / 0.7715 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.7338, allocations: 0.6149 MB / 0.7721 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.487e-05/0.7339, allocations: 32 kB / 0.7722 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.7352, allocations: 459 kB / 0.7726 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.7355, allocations: 331 kB / 0.7729 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.7358, allocations: 209.2 kB / 0.7731 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.737, allocations: 1.029 MB / 0.7741 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.737, allocations: 0 / 0.7741 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.737, allocations: 0 / 0.7741 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.737, allocations: 0 / 0.7741 GB, free: 13.72 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001558/0.7386, allocations: 1.062 MB / 0.7752 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7386, allocations: 8.031 kB / 0.7752 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.7388, allocations: 122.5 kB / 0.7753 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.7399, allocations: 214.6 kB / 0.7755 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.7409, allocations: 0.6252 MB / 0.7761 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.7409, allocations: 61.94 kB / 0.7762 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.741, allocations: 79.94 kB / 0.7762 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.7424, allocations: 0.921 MB / 0.7771 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.7424, allocations: 9.188 kB / 0.7771 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.7425, allocations: 35.95 kB / 0.7772 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.7425, allocations: 29.31 kB / 0.7772 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/0.7435, allocations: 0.6099 MB / 0.7778 GB, free: 9.773 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.004476/0.7479, allocations: 4.584 MB / 0.7823 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.7487, allocations: 0.5397 MB / 0.7828 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.749, allocations: 242.5 kB / 0.783 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.7492, allocations: 101.1 kB / 0.7831 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.7493, allocations: 39.25 kB / 0.7832 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.7493, allocations: 0 / 0.7832 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00282/0.7521, allocations: 1.579 MB / 0.7847 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.7522, allocations: 110.8 kB / 0.7848 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.7531, allocations: 0.7077 MB / 0.7855 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.7532, allocations: 37.7 kB / 0.7855 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.7535, allocations: 419.8 kB / 0.7859 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.7537, allocations: 161.7 kB / 0.7861 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.7537, allocations: 16 kB / 0.7861 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7539, allocations: 329.9 kB / 0.7864 GB, free: 464 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.7542, allocations: 185.3 kB / 0.7866 GB, free: 280 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.7547, allocations: 417 kB / 0.787 GB, free: 15.77 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.7563, allocations: 0.6628 MB / 0.7876 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7563, allocations: 4 kB / 0.7877 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001066/0.7574, allocations: 0.6651 MB / 0.7883 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7574, allocations: 8 kB / 0.7883 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.7574, allocations: 8 kB / 0.7883 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.7575, allocations: 12 kB / 0.7883 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.758, allocations: 125.3 kB / 0.7884 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.758, allocations: 15.94 kB / 0.7885 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.7586, allocations: 49.08 kB / 0.7885 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.7587, allocations: 28 kB / 0.7885 GB, free: 14.18 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.7591, allocations: 279.6 kB / 0.7888 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7592, allocations: 82.97 kB / 0.7889 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.7594, allocations: 91.66 kB / 0.789 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7594, allocations: 8 kB / 0.789 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.7595, allocations: 1.688 kB / 0.789 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007259/0.7602, allocations: 0.691 MB / 0.7897 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.7627, allocations: 1.646 MB / 0.7913 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.7628, allocations: 4 kB / 0.7913 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.7632, allocations: 95.89 kB / 0.7914 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.7632, allocations: 11.94 kB / 0.7914 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.7633, allocations: 19.98 kB / 0.7914 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.7633, allocations: 7.938 kB / 0.7914 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7633, allocations: 4.469 kB / 0.7914 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.7645, allocations: 0.8882 MB / 0.7923 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.7648, allocations: 212 kB / 0.7925 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.7649, allocations: 17 kB / 0.7925 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.7654, allocations: 36.41 kB / 0.7925 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.7655, allocations: 43.95 kB / 0.7926 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.7655, allocations: 19.98 kB / 0.7926 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006455/0.7662, allocations: 0.499 MB / 0.7931 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7662, allocations: 0 / 0.7931 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000827/0.767, allocations: 200 kB / 0.7933 GB, free: 9.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/0.7688, allocations: 1.524 MB / 0.7947 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008081/0.7697, allocations: 480.9 kB / 0.7952 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7697, allocations: 3.938 kB / 0.7952 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.77, allocations: 211.7 kB / 0.7954 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.7721, allocations: 457.2 kB / 0.7958 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/0.7799, allocations: 4.98 MB / 0.8007 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.7806, allocations: 1.028 MB / 0.8017 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007514/0.7813, allocations: 204.1 kB / 0.8019 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.7817, allocations: 295.3 kB / 0.8022 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.7818, allocations: 0 / 0.8022 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/0.8244, allocations: 21.58 MB / 0.8233 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.8247, allocations: 258.6 kB / 0.8235 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/3.029, allocations: 0 / 0.8235 GB, free: 10.11 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: