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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8637/0.8637, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.811/1.811, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009252, allocations: 95.17 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.477e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5188, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.496/5.015, allocations: 1.882 GB / 2.516 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/5.015, allocations: 81.58 kB / 2.516 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.12/7.135, allocations: 0.5653 GB / 3.081 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/7.135, allocations: 4 kB / 3.081 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001322/7.135, allocations: 26.81 kB / 3.081 GB, free: 77.39 MB / 0.6823 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.003874/7.139, allocations: 1.253 MB / 3.083 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/7.139, allocations: 8.031 kB / 3.083 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/7.142, allocations: 318.4 kB / 3.083 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/7.144, allocations: 0.7924 MB / 3.084 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/7.144, allocations: 97.94 kB / 3.084 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/7.145, allocations: 59.94 kB / 3.084 GB, free: 74.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001548/7.146, allocations: 0.6794 MB / 3.085 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/7.148, allocations: 0.8675 MB / 3.085 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/7.148, allocations: 3.938 kB / 3.085 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/7.148, allocations: 8 kB / 3.085 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/7.148, allocations: 33.98 kB / 3.085 GB, free: 73.17 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005722/7.154, allocations: 3.804 MB / 3.089 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/7.155, allocations: 353.5 kB / 3.09 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/7.155, allocations: 188.8 kB / 3.09 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/7.155, allocations: 97.09 kB / 3.09 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/7.155, allocations: 42.5 kB / 3.09 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.886e-06/7.155, allocations: 4 kB / 3.09 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.002382/7.157, allocations: 1.09 MB / 3.091 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/7.157, allocations: 55.41 kB / 3.091 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/7.158, allocations: 0.5622 MB / 3.092 GB, free: 66.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/7.158, allocations: 25.7 kB / 3.092 GB, free: 66.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/7.159, allocations: 0.5022 MB / 3.092 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/7.159, allocations: 126.1 kB / 3.092 GB, free: 66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/7.159, allocations: 0 / 3.092 GB, free: 66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001181/7.159, allocations: 378.8 kB / 3.093 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/7.159, allocations: 189.5 kB / 3.093 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/7.16, allocations: 369.5 kB / 3.093 GB, free: 65 MB / 0.6823 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.001669/7.161, allocations: 0.6979 MB / 3.094 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/7.161, allocations: 0 / 3.094 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009606/7.162, allocations: 0.6131 MB / 3.094 GB, free: 63.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/7.162, allocations: 8 kB / 3.094 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/7.162, allocations: 4 kB / 3.094 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/7.162, allocations: 11.95 kB / 3.094 GB, free: 63.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/7.163, allocations: 140.4 kB / 3.094 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/7.163, allocations: 11.98 kB / 3.094 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/7.164, allocations: 83.75 kB / 3.095 GB, free: 63.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/7.164, allocations: 32 kB / 3.095 GB, free: 63.39 MB / 0.6823 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 () * 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.0001514/7.164, allocations: 133.3 kB / 3.095 GB, free: 63.25 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005356/7.165, allocations: 388.2 kB / 3.095 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/7.165, allocations: 79.11 kB / 3.095 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/7.165, allocations: 83.22 kB / 3.095 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/7.165, allocations: 0 / 3.095 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/7.165, allocations: 8 kB / 3.095 GB, free: 62.69 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004451/7.166, allocations: 0.6404 MB / 3.096 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/7.168, allocations: 1.424 MB / 3.097 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/7.168, allocations: 8.094 kB / 3.097 GB, free: 60.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/7.168, allocations: 87.89 kB / 3.097 GB, free: 60.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/7.168, allocations: 4 kB / 3.097 GB, free: 60.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/7.168, allocations: 8 kB / 3.097 GB, free: 60.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/7.168, allocations: 11.88 kB / 3.097 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/7.168, allocations: 11.95 kB / 3.097 GB, free: 60.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/7.169, allocations: 0.9652 MB / 3.098 GB, free: 59.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/7.169, allocations: 208.1 kB / 3.099 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/7.17, allocations: 15.98 kB / 3.099 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007389/7.17, allocations: 43.91 kB / 3.099 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/7.17, allocations: 39.84 kB / 3.099 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/7.17, allocations: 23.98 kB / 3.099 GB, free: 58.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000456/7.171, allocations: 439.1 kB / 3.099 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/7.171, allocations: 0 / 3.099 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001318/7.172, allocations: 320 kB / 3.099 GB, free: 58.11 MB / 0.6823 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 () * 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.00358/7.176, allocations: 4.021 MB / 3.103 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000758/7.177, allocations: 427.3 kB / 3.104 GB, free: 53.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/7.177, allocations: 0 / 3.104 GB, free: 53.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/7.177, allocations: 169.9 kB / 3.104 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/7.179, allocations: 408 kB / 3.104 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/7.183, allocations: 1.598 MB / 3.106 GB, free: 51.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/7.184, allocations: 1.121 MB / 3.107 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008698/7.185, allocations: 194.3 kB / 3.107 GB, free: 50.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/7.185, allocations: 335.3 kB / 3.107 GB, free: 49.75 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/7.185, allocations: 0 / 3.107 GB, free: 49.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/7.246, allocations: 30.13 MB / 3.137 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/7.247, allocations: 178.8 kB / 3.137 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/10.33, allocations: 0 / 3.137 GB, free: 19.62 MB / 0.6823 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)