Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_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.001122/0.001122, 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.001075/0.001075, allocations: 193 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.161/1.161, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 68.48 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1277, allocations: 80.92 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3721/0.4999, allocations: 188.1 MB / 0.7675 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007152/0.5071, allocations: 5.752 MB / 0.7731 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.5076, allocations: 35.75 kB / 0.7731 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.5087, allocations: 497.4 kB / 0.7736 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.5113, allocations: 1.506 MB / 0.7751 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.5134, allocations: 1.081 MB / 0.7761 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.516, allocations: 3.48 MB / 0.7795 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.5169, allocations: 0.8489 MB / 0.7803 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.518, allocations: 0.8947 MB / 0.7812 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5193, allocations: 0.856 MB / 0.7821 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.5195, allocations: 52 kB / 0.7821 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.5217, allocations: 1.715 MB / 0.7838 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.522, allocations: 442.7 kB / 0.7842 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.5225, allocations: 0.5753 MB / 0.7848 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.5244, allocations: 2.131 MB / 0.7868 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5244, allocations: 0 / 0.7868 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5244, allocations: 4 kB / 0.7868 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5245, allocations: 0 / 0.7868 GB, free: 13.45 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.001892/0.5264, allocations: 1.492 MB / 0.7883 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5264, allocations: 8.031 kB / 0.7883 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.5265, allocations: 139.2 kB / 0.7884 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.5284, allocations: 330.3 kB / 0.7888 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.5294, allocations: 0.7726 MB / 0.7895 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.5297, allocations: 121.9 kB / 0.7896 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.5299, allocations: 87.98 kB / 0.7897 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.5315, allocations: 1.064 MB / 0.7907 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5315, allocations: 4 kB / 0.7908 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.244e-05/0.5316, allocations: 36 kB / 0.7908 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.5317, allocations: 37.98 kB / 0.7908 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5331, allocations: 0.8353 MB / 0.7916 GB, free: 8.402 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.00467/0.5378, allocations: 4.042 MB / 0.7956 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.5383, allocations: 377.5 kB / 0.7959 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.5386, allocations: 212.8 kB / 0.7962 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.5387, allocations: 105.7 kB / 0.7963 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5388, allocations: 38.56 kB / 0.7963 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.725e-06/0.5388, allocations: 3.984 kB / 0.7963 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002134/0.5409, allocations: 1.326 MB / 0.7976 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.541, allocations: 67.33 kB / 0.7977 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.5422, allocations: 0.9881 MB / 0.7986 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.5422, allocations: 37.7 kB / 0.7987 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.5425, allocations: 499.3 kB / 0.7991 GB, free: 344 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.5426, allocations: 134 kB / 0.7993 GB, free: 208 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.5428, allocations: 118.2 kB / 0.7994 GB, free: 84 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.5429, allocations: 330 kB / 0.7997 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.5433, allocations: 237.2 kB / 0.7999 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.5439, allocations: 415 kB / 0.8003 GB, free: 15.05 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.002178/0.5461, allocations: 1.178 MB / 0.8015 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5461, allocations: 4 kB / 0.8015 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001189/0.5473, allocations: 0.7533 MB / 0.8022 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5473, allocations: 11.94 kB / 0.8022 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5473, allocations: 4 kB / 0.8022 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5473, allocations: 8.25 kB / 0.8022 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.5479, allocations: 147.8 kB / 0.8024 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.5479, allocations: 11.94 kB / 0.8024 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/0.5487, allocations: 95.52 kB / 0.8025 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.5488, allocations: 24 kB / 0.8025 GB, free: 12.73 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: 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.0003235/0.5491, allocations: 313.5 kB / 0.8028 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.5493, allocations: 98.81 kB / 0.8029 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.5494, allocations: 101 kB / 0.803 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5494, allocations: 7.938 kB / 0.803 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5494, allocations: 0 / 0.803 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005908/0.55, allocations: 0.677 MB / 0.8036 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.552, allocations: 1.588 MB / 0.8052 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.552, allocations: 4.5 kB / 0.8052 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.5524, allocations: 91.89 kB / 0.8053 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5524, allocations: 4 kB / 0.8053 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5524, allocations: 15.94 kB / 0.8053 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.5525, allocations: 11.94 kB / 0.8053 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5525, allocations: 4 kB / 0.8053 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.5534, allocations: 0.841 MB / 0.8061 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.5537, allocations: 243.9 kB / 0.8064 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.5538, allocations: 15.98 kB / 0.8064 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/0.5545, allocations: 58.83 kB / 0.8064 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.5545, allocations: 39.91 kB / 0.8065 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.5546, allocations: 23.98 kB / 0.8065 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008557/0.5555, allocations: 0.7034 MB / 0.8072 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5555, allocations: 4 kB / 0.8072 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006656/0.5561, allocations: 252 kB / 0.8074 GB, free: 7.355 MB / 0.6231 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.001365/0.5575, allocations: 1.505 MB / 0.8089 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007785/0.5583, allocations: 496.9 kB / 0.8094 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5583, allocations: 4 kB / 0.8094 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.5585, allocations: 189.4 kB / 0.8096 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.5609, allocations: 0.5957 MB / 0.8101 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/0.5704, allocations: 8.189 MB / 0.8181 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.571, allocations: 1.099 MB / 0.8192 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007195/0.5717, allocations: 240.5 kB / 0.8194 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.5721, allocations: 339.3 kB / 0.8198 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.5721, allocations: 0 / 0.8198 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5776/1.15, allocations: 26.67 MB / 0.8458 GB, free: 15.96 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.15, allocations: 257.2 kB / 0.8461 GB, free: 15.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/3.378, allocations: 0 / 0.8461 GB, free: 15.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)