Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001017/0.001017, 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.001046/0.001046, allocations: 193.4 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.307/1.307, 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.7376/0.7376, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.47 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3392, allocations: 80.2 MB / 0.5795 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1873/0.5264, allocations: 188.1 MB / 0.7632 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007911/0.5344, allocations: 5.728 MB / 0.7688 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007487/0.5352, allocations: 39.69 kB / 0.7688 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.5364, allocations: 0.4897 MB / 0.7693 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.5395, allocations: 1.521 MB / 0.7708 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.5419, allocations: 1.074 MB / 0.7718 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.545, allocations: 3.487 MB / 0.7752 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009604/0.546, allocations: 0.845 MB / 0.7761 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.5474, allocations: 0.8986 MB / 0.7769 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.5488, allocations: 0.8428 MB / 0.7778 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5489, allocations: 59.98 kB / 0.7778 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.5517, allocations: 1.711 MB / 0.7795 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.5521, allocations: 442.7 kB / 0.7799 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.5527, allocations: 0.5714 MB / 0.7805 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.555, allocations: 2.131 MB / 0.7825 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.555, allocations: 0 / 0.7825 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.025e-06/0.555, allocations: 3.984 kB / 0.7826 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.555, allocations: 0 / 0.7826 GB, free: 1.047 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002122/0.5571, allocations: 1.488 MB / 0.784 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5572, allocations: 16.03 kB / 0.784 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.5574, allocations: 135.2 kB / 0.7841 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.5593, allocations: 330.3 kB / 0.7845 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5604, allocations: 0.7765 MB / 0.7852 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.5607, allocations: 121.9 kB / 0.7853 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5609, allocations: 84 kB / 0.7854 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5626, allocations: 1.064 MB / 0.7865 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.5626, allocations: 4 kB / 0.7865 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.5627, allocations: 39.98 kB / 0.7865 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.5628, allocations: 38 kB / 0.7865 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.5643, allocations: 0.8314 MB / 0.7873 GB, free: 11.99 MB / 0.6231 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.005078/0.5693, allocations: 4.05 MB / 0.7913 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.5699, allocations: 374.8 kB / 0.7917 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.5702, allocations: 217.3 kB / 0.7919 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.5704, allocations: 101 kB / 0.792 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.5705, allocations: 50.5 kB / 0.792 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.5705, allocations: 0 / 0.792 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002435/0.5729, allocations: 1.327 MB / 0.7933 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.573, allocations: 55.41 kB / 0.7934 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.5742, allocations: 0.9921 MB / 0.7943 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.5743, allocations: 33.7 kB / 0.7944 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.5746, allocations: 495.3 kB / 0.7948 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.5748, allocations: 138 kB / 0.795 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.5749, allocations: 122.2 kB / 0.7951 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5751, allocations: 330 kB / 0.7954 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.5756, allocations: 229.2 kB / 0.7956 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.5762, allocations: 418.9 kB / 0.796 GB, free: 2.621 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.002427/0.5786, allocations: 1.179 MB / 0.7972 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5787, allocations: 4 kB / 0.7972 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001352/0.58, allocations: 0.7575 MB / 0.7979 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.58, allocations: 6.344 kB / 0.7979 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5801, allocations: 8 kB / 0.7979 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5801, allocations: 8 kB / 0.7979 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.5807, allocations: 140 kB / 0.7981 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.5807, allocations: 11.98 kB / 0.7981 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/0.5816, allocations: 83.78 kB / 0.7982 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.5817, allocations: 24.08 kB / 0.7982 GB, free: 320 kB / 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0003862/0.5821, allocations: 317.6 kB / 0.7985 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5822, allocations: 110.6 kB / 0.7986 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.5824, allocations: 105 kB / 0.7987 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5824, allocations: 4 kB / 0.7987 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5824, allocations: 3.938 kB / 0.7987 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006348/0.583, allocations: 0.6731 MB / 0.7994 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.5852, allocations: 1.582 MB / 0.8009 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5853, allocations: 4 kB / 0.8009 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.5857, allocations: 83.89 kB / 0.801 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.5857, allocations: 7.938 kB / 0.801 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.5857, allocations: 20.48 kB / 0.801 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5857, allocations: 12 kB / 0.801 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5857, allocations: 7.938 kB / 0.801 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009978/0.5867, allocations: 0.8484 MB / 0.8019 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.5871, allocations: 240.1 kB / 0.8021 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5872, allocations: 16 kB / 0.8021 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.588, allocations: 59.8 kB / 0.8022 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.588, allocations: 43.77 kB / 0.8022 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.5881, allocations: 23.98 kB / 0.8022 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009422/0.589, allocations: 0.7074 MB / 0.8029 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.589, allocations: 0 / 0.8029 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007418/0.5898, allocations: 252 kB / 0.8032 GB, free: 10.92 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001527/0.5913, allocations: 1.49 MB / 0.8046 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.5922, allocations: 493.6 kB / 0.8051 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5922, allocations: 4 kB / 0.8051 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.5924, allocations: 183.7 kB / 0.8053 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.595, allocations: 0.6014 MB / 0.8058 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.225/0.82, allocations: 8.199 MB / 0.8139 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.8206, allocations: 1.097 MB / 0.8149 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001041/0.8217, allocations: 239.8 kB / 0.8152 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.8221, allocations: 341.9 kB / 0.8155 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.8221, allocations: 0 / 0.8155 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.8684, allocations: 26.65 MB / 0.8415 GB, free: 208 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001254/0.8685, allocations: 255.4 kB / 0.8418 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.163, allocations: 0 / 0.8418 GB, free: 207.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)