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.001564/0.001564, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002005/0.002005, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.075/2.075, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.537/1.537, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 64.62 kB / 0.5049 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2443, allocations: 80.94 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7334/0.9777, allocations: 187.8 MB / 0.7674 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.9926, allocations: 5.643 MB / 0.7729 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.995, allocations: 35.75 kB / 0.773 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.9976, allocations: 0.5053 MB / 0.7735 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008091/1.006, allocations: 1.502 MB / 0.7749 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005644/1.011, allocations: 1.095 MB / 0.776 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005361/1.017, allocations: 2.498 MB / 0.7784 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/1.019, allocations: 0.9617 MB / 0.7794 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/1.022, allocations: 1.043 MB / 0.7804 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/1.024, allocations: 0.8607 MB / 0.7812 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002495/1.025, allocations: 104 kB / 0.7813 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004693/1.029, allocations: 1.594 MB / 0.7829 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007912/1.03, allocations: 0.4987 MB / 0.7834 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.031, allocations: 0.6222 MB / 0.784 GB, free: 432 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004337/1.036, allocations: 2.185 MB / 0.7861 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.036, allocations: 0 / 0.7861 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/1.036, allocations: 7.938 kB / 0.7861 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.3e-05/1.036, allocations: 0 / 0.7861 GB, free: 14.22 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.00369/1.039, allocations: 1.48 MB / 0.7876 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/1.039, allocations: 12.03 kB / 0.7876 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/1.04, allocations: 139.2 kB / 0.7877 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/1.043, allocations: 326.3 kB / 0.788 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/1.046, allocations: 0.7765 MB / 0.7888 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006107/1.047, allocations: 125.9 kB / 0.7889 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/1.047, allocations: 83.98 kB / 0.789 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/1.05, allocations: 1.072 MB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/1.05, allocations: 0 / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/1.05, allocations: 39.94 kB / 0.7901 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.179e-05/1.05, allocations: 38 kB / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/1.053, allocations: 0.8314 MB / 0.7909 GB, free: 9.18 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.009742/1.063, allocations: 4.039 MB / 0.7949 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.064, allocations: 381.5 kB / 0.7952 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/1.065, allocations: 209.8 kB / 0.7954 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/1.065, allocations: 101.7 kB / 0.7955 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/1.065, allocations: 42.5 kB / 0.7956 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 7.283e-06/1.065, allocations: 4 kB / 0.7956 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.004283/1.069, allocations: 1.333 MB / 0.7969 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/1.069, allocations: 55.41 kB / 0.7969 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/1.072, allocations: 0.9881 MB / 0.7979 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/1.072, allocations: 37.7 kB / 0.7979 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/1.072, allocations: 495.3 kB / 0.7984 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/1.072, allocations: 142 kB / 0.7985 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/1.073, allocations: 118.2 kB / 0.7986 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002748/1.073, allocations: 334 kB / 0.799 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/1.074, allocations: 225.2 kB / 0.7992 GB, free: 320 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.075, allocations: 422.9 kB / 0.7996 GB, free: 15.83 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.003743/1.079, allocations: 1.183 MB / 0.8007 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.079, allocations: 0.875 kB / 0.8007 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002458/1.081, allocations: 0.7494 MB / 0.8015 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.081, allocations: 8.312 kB / 0.8015 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.081, allocations: 12 kB / 0.8015 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/1.081, allocations: 8 kB / 0.8015 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/1.082, allocations: 135.8 kB / 0.8016 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/1.082, allocations: 11.94 kB / 0.8016 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.084, allocations: 93.78 kB / 0.8017 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.084, allocations: 27.98 kB / 0.8017 GB, free: 13.51 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.0007519/1.085, allocations: 312.9 kB / 0.802 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/1.085, allocations: 106.8 kB / 0.8021 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/1.086, allocations: 97.03 kB / 0.8022 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.086, allocations: 8 kB / 0.8022 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.086, allocations: 0 / 0.8022 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/1.087, allocations: 0.677 MB / 0.8029 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/1.091, allocations: 1.592 MB / 0.8045 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.091, allocations: 4 kB / 0.8045 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/1.091, allocations: 87.84 kB / 0.8046 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/1.092, allocations: 4 kB / 0.8046 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/1.092, allocations: 19.92 kB / 0.8046 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/1.092, allocations: 8 kB / 0.8046 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.092, allocations: 7.938 kB / 0.8046 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.093, allocations: 0.8477 MB / 0.8054 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/1.094, allocations: 239.8 kB / 0.8056 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/1.094, allocations: 23.92 kB / 0.8057 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.096, allocations: 49.33 kB / 0.8057 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/1.096, allocations: 39.84 kB / 0.8058 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/1.096, allocations: 23.98 kB / 0.8058 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001831/1.098, allocations: 0.7074 MB / 0.8065 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/1.098, allocations: 4 kB / 0.8065 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001528/1.099, allocations: 256 kB / 0.8067 GB, free: 8.133 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.002796/1.102, allocations: 1.501 MB / 0.8082 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.104, allocations: 0.5275 MB / 0.8087 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.104, allocations: 0 / 0.8087 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/1.104, allocations: 193 kB / 0.8089 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/1.108, allocations: 0.6088 MB / 0.8095 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.131, allocations: 8.193 MB / 0.8175 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.132, allocations: 1.106 MB / 0.8186 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001734/1.134, allocations: 236.2 kB / 0.8188 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/1.135, allocations: 339.3 kB / 0.8191 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of SimCode: time 1.352e-06/1.135, allocations: 3.938 kB / 0.8191 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08471/1.22, allocations: 27.36 MB / 0.8458 GB, free: 36 kB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003442/1.22, allocations: 257.3 kB / 0.8461 GB, free: 15.78 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/5.269, allocations: 0 / 0.8461 GB, free: 15.78 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)