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.001045/0.001045, allocations: 87.03 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.001347/0.001347, 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.393/1.393, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 426.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.000317, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4957/0.6585, allocations: 173.1 MB / 0.7565 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009014/0.6676, allocations: 5.367 MB / 0.7618 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.6692, allocations: 35.75 kB / 0.7618 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.6705, allocations: 389.5 kB / 0.7622 GB, free: 10.02 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003733/0.6743, allocations: 1.201 MB / 0.7633 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.6771, allocations: 0.8889 MB / 0.7642 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003799/0.6809, allocations: 2.929 MB / 0.7671 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.6821, allocations: 0.7017 MB / 0.7678 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.6843, allocations: 0.8519 MB / 0.7686 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.6854, allocations: 0.7782 MB / 0.7693 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-05/0.6855, allocations: 40 kB / 0.7694 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.6877, allocations: 0.8847 MB / 0.7702 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.6881, allocations: 434.8 kB / 0.7707 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.6885, allocations: 253.1 kB / 0.7709 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.69, allocations: 1.489 MB / 0.7724 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.69, allocations: 0 / 0.7724 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6901, allocations: 0 / 0.7724 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.6901, allocations: 0 / 0.7724 GB, free: 15.56 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001908/0.692, allocations: 1.253 MB / 0.7736 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.692, allocations: 12.03 kB / 0.7736 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.6922, allocations: 139.2 kB / 0.7737 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.6941, allocations: 346.2 kB / 0.7741 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.6953, allocations: 0.7575 MB / 0.7748 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.6956, allocations: 133.9 kB / 0.7749 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6957, allocations: 80 kB / 0.775 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.6974, allocations: 1.064 MB / 0.776 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6975, allocations: 4 kB / 0.776 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6976, allocations: 36 kB / 0.7761 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.6976, allocations: 34 kB / 0.7761 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.6991, allocations: 0.843 MB / 0.7769 GB, free: 10.74 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.005117/0.7042, allocations: 4.054 MB / 0.7809 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.7048, allocations: 381.6 kB / 0.7813 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.7051, allocations: 206 kB / 0.7814 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.7053, allocations: 101.7 kB / 0.7815 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.7053, allocations: 46.5 kB / 0.7816 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.345e-06/0.7053, allocations: 0 / 0.7816 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002406/0.7078, allocations: 1.322 MB / 0.7829 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.7078, allocations: 55.41 kB / 0.7829 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.7091, allocations: 0.9842 MB / 0.7839 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.7092, allocations: 37.7 kB / 0.7839 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.7096, allocations: 0.4915 MB / 0.7844 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.7098, allocations: 142 kB / 0.7845 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.7098, allocations: 8 kB / 0.7846 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7099, allocations: 337.9 kB / 0.7849 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.7104, allocations: 237.2 kB / 0.7851 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.711, allocations: 414.9 kB / 0.7855 GB, free: 1.484 MB / 0.5919 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.001702/0.7127, allocations: 0.7286 MB / 0.7862 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7127, allocations: 0 / 0.7862 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001284/0.714, allocations: 0.7595 MB / 0.787 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7141, allocations: 14.06 kB / 0.787 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.7141, allocations: 8 kB / 0.787 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7141, allocations: 8 kB / 0.787 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.7147, allocations: 141.2 kB / 0.7871 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.7147, allocations: 11.98 kB / 0.7871 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.7155, allocations: 92.56 kB / 0.7872 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.7156, allocations: 24 kB / 0.7872 GB, free: 15.68 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004423/0.7161, allocations: 317.6 kB / 0.7875 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.7162, allocations: 98.78 kB / 0.7876 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.7164, allocations: 105 kB / 0.7877 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7164, allocations: 4 kB / 0.7877 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.7164, allocations: 0 / 0.7877 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006698/0.7171, allocations: 0.6728 MB / 0.7884 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.7194, allocations: 1.592 MB / 0.79 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7194, allocations: 7.938 kB / 0.79 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.7198, allocations: 84.77 kB / 0.79 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.7198, allocations: 4 kB / 0.79 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.7198, allocations: 16 kB / 0.7901 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.7199, allocations: 8.484 kB / 0.7901 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7199, allocations: 11.94 kB / 0.7901 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.7208, allocations: 0.8412 MB / 0.7909 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.7211, allocations: 239.9 kB / 0.7911 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7213, allocations: 15.38 kB / 0.7911 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.7219, allocations: 61.03 kB / 0.7912 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.722, allocations: 35.86 kB / 0.7912 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.722, allocations: 27.92 kB / 0.7913 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009248/0.723, allocations: 0.7034 MB / 0.7919 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.723, allocations: 0 / 0.7919 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007746/0.7238, allocations: 256 kB / 0.7922 GB, free: 10.32 MB / 0.6075 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 (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.001654/0.7254, allocations: 1.489 MB / 0.7936 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008939/0.7263, allocations: 0.4924 MB / 0.7941 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7263, allocations: 0 / 0.7941 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.7266, allocations: 191.5 kB / 0.7943 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.7291, allocations: 0.5957 MB / 0.7949 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.7378, allocations: 5.829 MB / 0.8006 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.7386, allocations: 1.095 MB / 0.8017 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001066/0.7397, allocations: 240.2 kB / 0.8019 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.7402, allocations: 347.3 kB / 0.8022 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.7402, allocations: 3.938 kB / 0.8022 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.7877, allocations: 27.22 MB / 0.8288 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.788, allocations: 238.4 kB / 0.829 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.179, allocations: 0 / 0.829 GB, free: 4.668 MB / 0.6387 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/linux/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) Environment - environmentSimulation: