Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_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.001011/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00103/0.00103, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7496/0.7496, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 60.12 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1375, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4/0.5376, allocations: 184.9 MB / 0.76 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.552, allocations: 13.07 MB / 0.7728 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.5531, allocations: 23.88 kB / 0.7728 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.5546, allocations: 342 kB / 0.7731 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.5569, allocations: 0.8714 MB / 0.774 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.5587, allocations: 0.6114 MB / 0.7746 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.5609, allocations: 2.103 MB / 0.7766 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.562, allocations: 0.5574 MB / 0.7772 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.566, allocations: 1.58 MB / 0.7787 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.5675, allocations: 0.5323 MB / 0.7792 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.5677, allocations: 32 kB / 0.7793 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.5694, allocations: 0.9743 MB / 0.7802 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.5698, allocations: 259.2 kB / 0.7805 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.5704, allocations: 374 kB / 0.7808 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.572, allocations: 1.188 MB / 0.782 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.572, allocations: 0 / 0.782 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.002e-06/0.572, allocations: 0 / 0.782 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.5721, allocations: 0 / 0.782 GB, free: 3.906 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001561/0.5736, allocations: 1.046 MB / 0.783 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5737, allocations: 8.031 kB / 0.783 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.5738, allocations: 110.4 kB / 0.7831 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.5748, allocations: 190.8 kB / 0.7833 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.5756, allocations: 0.5169 MB / 0.7838 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.5759, allocations: 97.25 kB / 0.7839 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.576, allocations: 56 kB / 0.7839 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5772, allocations: 0.7679 MB / 0.7847 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.5772, allocations: 3.938 kB / 0.7847 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.5773, allocations: 28 kB / 0.7847 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.5773, allocations: 36.86 kB / 0.7848 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.5783, allocations: 471.3 kB / 0.7852 GB, free: 412 kB / 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.004054/0.5823, allocations: 4.163 MB / 0.7893 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.5825, allocations: 110.4 kB / 0.7894 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5826, allocations: 71.5 kB / 0.7895 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.5828, allocations: 93.09 kB / 0.7895 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.5828, allocations: 42.56 kB / 0.7896 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.5828, allocations: 0 / 0.7896 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006889/0.5835, allocations: 236.6 kB / 0.7898 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.5836, allocations: 136.5 kB / 0.7899 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.5847, allocations: 0.8331 MB / 0.7908 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.5847, allocations: 33.64 kB / 0.7908 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.585, allocations: 395 kB / 0.7912 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5851, allocations: 51.42 kB / 0.7912 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.5852, allocations: 77.61 kB / 0.7913 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5853, allocations: 322 kB / 0.7916 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.5856, allocations: 115.9 kB / 0.7917 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.586, allocations: 341.9 kB / 0.792 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.5865, allocations: 407 kB / 0.7924 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5865, allocations: 7.938 kB / 0.7924 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008631/0.5874, allocations: 492.3 kB / 0.7929 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5874, allocations: 8 kB / 0.7929 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5874, allocations: 8 kB / 0.7929 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.5875, allocations: 8 kB / 0.7929 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.5878, allocations: 100.5 kB / 0.793 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5878, allocations: 15.88 kB / 0.793 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.5885, allocations: 115.2 kB / 0.7931 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.5885, allocations: 27.98 kB / 0.7932 GB, free: 7.684 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002325/0.5887, allocations: 231.1 kB / 0.7934 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.5889, allocations: 75.06 kB / 0.7935 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.589, allocations: 70.09 kB / 0.7935 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.589, allocations: 4 kB / 0.7935 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.589, allocations: 7.875 kB / 0.7935 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.589, allocations: 0 / 0.7935 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.5902, allocations: 1.124 MB / 0.7946 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5902, allocations: 0 / 0.7946 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.5903, allocations: 23.94 kB / 0.7947 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5904, allocations: 4.312 kB / 0.7947 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5904, allocations: 8 kB / 0.7947 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5904, allocations: 0 / 0.7947 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5904, allocations: 4 kB / 0.7947 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.5906, allocations: 267.7 kB / 0.7949 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5908, allocations: 172.1 kB / 0.7951 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.5909, allocations: 4 kB / 0.7951 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.5913, allocations: 23.97 kB / 0.7951 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.5913, allocations: 16.41 kB / 0.7951 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.5913, allocations: 4 kB / 0.7951 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007567/0.5921, allocations: 0.5849 MB / 0.7957 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5921, allocations: 0 / 0.7957 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005417/0.5926, allocations: 159.8 kB / 0.7959 GB, free: 4.754 MB / 0.6075 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.0007887/0.5934, allocations: 0.8975 MB / 0.7967 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.5939, allocations: 233 kB / 0.797 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5939, allocations: 0 / 0.797 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.594, allocations: 48.48 kB / 0.797 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.5956, allocations: 368.5 kB / 0.7974 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/0.6026, allocations: 5.786 MB / 0.803 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.603, allocations: 0.937 MB / 0.8039 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005251/0.6036, allocations: 142.1 kB / 0.8041 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6038, allocations: 227.4 kB / 0.8043 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.6038, allocations: 0 / 0.8043 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.6356, allocations: 17.15 MB / 0.821 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.6359, allocations: 281.4 kB / 0.8213 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.672, allocations: 2.188 kB / 0.8213 GB, free: 10.66 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)