Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009894/0.0009894, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8263/0.8263, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 68.34 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1238, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3663/0.4902, allocations: 188.2 MB / 0.7676 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007641/0.4979, allocations: 5.763 MB / 0.7732 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.4985, allocations: 31.81 kB / 0.7733 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.4997, allocations: 0.4974 MB / 0.7737 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.503, allocations: 1.724 MB / 0.7754 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.5052, allocations: 1.067 MB / 0.7765 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.5086, allocations: 4.088 MB / 0.7805 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.5097, allocations: 0.9676 MB / 0.7814 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5109, allocations: 0.9101 MB / 0.7823 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.5125, allocations: 0.9951 MB / 0.7833 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.5126, allocations: 60 kB / 0.7833 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.5153, allocations: 1.64 MB / 0.7849 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.5158, allocations: 0.5142 MB / 0.7854 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.5164, allocations: 0.657 MB / 0.7861 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.5192, allocations: 2.364 MB / 0.7884 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5192, allocations: 0 / 0.7884 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5192, allocations: 3.938 kB / 0.7884 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5192, allocations: 0 / 0.7884 GB, free: 11.8 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002359/0.5216, allocations: 1.628 MB / 0.79 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5216, allocations: 8.031 kB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.5218, allocations: 156.2 kB / 0.7901 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.5237, allocations: 330.2 kB / 0.7904 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.525, allocations: 0.863 MB / 0.7913 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.5251, allocations: 78 kB / 0.7914 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.5252, allocations: 103.9 kB / 0.7915 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.5269, allocations: 1.085 MB / 0.7925 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5269, allocations: 7.922 kB / 0.7925 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.527, allocations: 40 kB / 0.7926 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.5271, allocations: 42 kB / 0.7926 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5286, allocations: 0.9876 MB / 0.7936 GB, free: 6.379 MB / 0.6075 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.005279/0.5339, allocations: 4.241 MB / 0.7977 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.5347, allocations: 0.5826 MB / 0.7983 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.5352, allocations: 350.5 kB / 0.7986 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.5354, allocations: 101.5 kB / 0.7987 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5355, allocations: 47 kB / 0.7987 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.863e-06/0.5355, allocations: 0 / 0.7987 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003604/0.5391, allocations: 2.201 MB / 0.8009 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5391, allocations: 55.97 kB / 0.801 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.5401, allocations: 0.8882 MB / 0.8018 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.5401, allocations: 37.7 kB / 0.8019 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.5405, allocations: 0.5146 MB / 0.8024 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.5406, allocations: 189.2 kB / 0.8025 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.5408, allocations: 134.6 kB / 0.8027 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.541, allocations: 338 kB / 0.803 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.5414, allocations: 289.8 kB / 0.8033 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.542, allocations: 450.6 kB / 0.8037 GB, free: 11.45 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.5456, allocations: 1.729 MB / 0.8054 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5456, allocations: 0 / 0.8054 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001361/0.547, allocations: 0.9218 MB / 0.8063 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.547, allocations: 12.44 kB / 0.8063 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.547, allocations: 4 kB / 0.8063 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.5472, allocations: 98.56 kB / 0.8064 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.5479, allocations: 171.7 kB / 0.8066 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.5509, allocations: 4.285 MB / 0.8107 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.5518, allocations: 70.62 kB / 0.8108 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.5518, allocations: 32 kB / 0.8108 GB, free: 3.637 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004417/0.5523, allocations: 345.5 kB / 0.8112 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5524, allocations: 102.8 kB / 0.8113 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.5526, allocations: 117.1 kB / 0.8114 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5526, allocations: 4 kB / 0.8114 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5526, allocations: 0 / 0.8114 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/0.5536, allocations: 0.7653 MB / 0.8121 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.5564, allocations: 1.976 MB / 0.8141 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5565, allocations: 4.406 kB / 0.8141 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.5571, allocations: 147.8 kB / 0.8142 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.5572, allocations: 44.83 kB / 0.8142 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.5573, allocations: 23.94 kB / 0.8143 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.5583, allocations: 1.48 MB / 0.8157 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5583, allocations: 4 kB / 0.8157 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.56, allocations: 1.234 MB / 0.8169 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.5604, allocations: 251.9 kB / 0.8172 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.5605, allocations: 19.98 kB / 0.8172 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.5613, allocations: 70.08 kB / 0.8173 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5614, allocations: 51.88 kB / 0.8173 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.5614, allocations: 27.98 kB / 0.8173 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007156/0.5622, allocations: 0.6122 MB / 0.8179 GB, free: 12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.493e-06/0.5622, allocations: 0 / 0.8179 GB, free: 12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008852/0.5631, allocations: 311.9 kB / 0.8182 GB, free: 11.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002218/0.5653, allocations: 1.868 MB / 0.82 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.5667, allocations: 0.997 MB / 0.821 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5667, allocations: 0 / 0.821 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.5673, allocations: 447.9 kB / 0.8214 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.5698, allocations: 0.6403 MB / 0.8221 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5807, allocations: 8.65 MB / 0.8305 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.5815, allocations: 1.173 MB / 0.8317 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008905/0.5824, allocations: 255.2 kB / 0.8319 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.5828, allocations: 383.2 kB / 0.8323 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.5828, allocations: 0 / 0.8323 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5996/1.182, allocations: 29.22 MB / 0.8608 GB, free: 68 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2182/1.401, allocations: 303.7 kB / 0.8611 GB, free: 230.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.999, allocations: 0 / 0.8611 GB, free: 230.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)