Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7389/0.7389, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.89 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3411, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1816/0.5228, allocations: 187.3 MB / 0.7631 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.5371, allocations: 13.08 MB / 0.7758 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000955/0.5381, allocations: 31.81 kB / 0.7759 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.5392, allocations: 425.1 kB / 0.7763 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.5417, allocations: 1.155 MB / 0.7774 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.5432, allocations: 0.6967 MB / 0.7781 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.5452, allocations: 2.014 MB / 0.78 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009313/0.5462, allocations: 0.8278 MB / 0.7809 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.5494, allocations: 1.806 MB / 0.7826 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.5506, allocations: 0.665 MB / 0.7833 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.5508, allocations: 83.94 kB / 0.7833 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.5523, allocations: 0.877 MB / 0.7842 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.5527, allocations: 379 kB / 0.7846 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.5531, allocations: 0.5015 MB / 0.7851 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.5546, allocations: 1.468 MB / 0.7865 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5547, allocations: 0 / 0.7865 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5547, allocations: 0 / 0.7865 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.5547, allocations: 0 / 0.7865 GB, free: 13.52 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001576/0.5563, allocations: 1.231 MB / 0.7877 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5563, allocations: 12.03 kB / 0.7877 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.5564, allocations: 114.5 kB / 0.7878 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.5576, allocations: 222.6 kB / 0.788 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.5584, allocations: 0.6441 MB / 0.7887 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.5585, allocations: 58 kB / 0.7887 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5586, allocations: 76 kB / 0.7888 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.5597, allocations: 0.9341 MB / 0.7897 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.5598, allocations: 7.938 kB / 0.7897 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.5598, allocations: 32 kB / 0.7897 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.5599, allocations: 29.25 kB / 0.7898 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000879/0.5608, allocations: 0.6255 MB / 0.7904 GB, free: 9.355 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.00374/0.5645, allocations: 4.593 MB / 0.7949 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.5652, allocations: 0.5349 MB / 0.7954 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.5655, allocations: 250.5 kB / 0.7956 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.5657, allocations: 101 kB / 0.7957 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5657, allocations: 38.5 kB / 0.7958 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 3.687e-06/0.5657, allocations: 4 kB / 0.7958 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002415/0.5682, allocations: 1.575 MB / 0.7973 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.5682, allocations: 114.8 kB / 0.7974 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/0.569, allocations: 0.7154 MB / 0.7981 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.569, allocations: 37.95 kB / 0.7981 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.5693, allocations: 419.8 kB / 0.7985 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.5694, allocations: 161.6 kB / 0.7987 GB, free: 360 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.5696, allocations: 118.2 kB / 0.7988 GB, free: 232 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5697, allocations: 330 kB / 0.7991 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.5699, allocations: 185.2 kB / 0.7993 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.5704, allocations: 421 kB / 0.7997 GB, free: 15.21 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.5723, allocations: 1.163 MB / 0.8008 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5724, allocations: 0 / 0.8008 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008864/0.5732, allocations: 0.6715 MB / 0.8015 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5733, allocations: 11.94 kB / 0.8015 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5733, allocations: 8 kB / 0.8015 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5733, allocations: 11.98 kB / 0.8015 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.5738, allocations: 124.4 kB / 0.8016 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.5738, allocations: 11.94 kB / 0.8016 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.5743, allocations: 27.98 kB / 0.8017 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.5743, allocations: 28 kB / 0.8017 GB, free: 13.05 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002947/0.5746, allocations: 277.5 kB / 0.802 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.5748, allocations: 83.06 kB / 0.802 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.5749, allocations: 91.7 kB / 0.8021 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.575, allocations: 8 kB / 0.8021 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.575, allocations: 4 kB / 0.8021 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006288/0.5756, allocations: 0.6998 MB / 0.8028 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.5777, allocations: 1.647 MB / 0.8044 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5777, allocations: 4 kB / 0.8044 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.5782, allocations: 104.4 kB / 0.8045 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5782, allocations: 7.984 kB / 0.8045 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5782, allocations: 12 kB / 0.8046 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.5783, allocations: 11.94 kB / 0.8046 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5783, allocations: 7.938 kB / 0.8046 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.5793, allocations: 0.9014 MB / 0.8055 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.5795, allocations: 212.1 kB / 0.8057 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.736e-05/0.5796, allocations: 8 kB / 0.8057 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.5801, allocations: 23.98 kB / 0.8057 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.5801, allocations: 39.84 kB / 0.8057 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.5802, allocations: 19.98 kB / 0.8057 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005579/0.5807, allocations: 0.5107 MB / 0.8062 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5807, allocations: 0 / 0.8062 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006558/0.5814, allocations: 200 kB / 0.8064 GB, free: 7.918 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001548/0.583, allocations: 1.529 MB / 0.8079 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000776/0.5837, allocations: 0.5123 MB / 0.8084 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5838, allocations: 4 kB / 0.8084 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.584, allocations: 211.7 kB / 0.8086 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.5861, allocations: 474.4 kB / 0.8091 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2265/0.8126, allocations: 6.907 MB / 0.8158 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.8131, allocations: 1.03 MB / 0.8168 GB, free: 219 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006896/0.8138, allocations: 193.1 kB / 0.817 GB, free: 219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.8141, allocations: 299.5 kB / 0.8173 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.8141, allocations: 0 / 0.8173 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.405/2.219, allocations: 22.04 MB / 0.8388 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/10.39, allocations: 11.17 kB / 0.8388 GB, free: 210.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)