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.005291/0.005291, allocations: 98.94 kB / 15.73 MB, free: 6.496 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.001484/0.001485, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7657/0.7657, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 73.25 kB / 0.5809 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 80.19 MB / 0.6592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5133/0.6615, allocations: 187.3 MB / 0.8421 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.6738, allocations: 13.06 MB / 0.8548 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.6751, allocations: 34.25 kB / 0.8549 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.6762, allocations: 425.8 kB / 0.8553 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.6787, allocations: 1.157 MB / 0.8564 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.6802, allocations: 0.703 MB / 0.8571 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.6821, allocations: 2.012 MB / 0.8591 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.683, allocations: 0.845 MB / 0.8599 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.6863, allocations: 1.803 MB / 0.8616 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.6876, allocations: 0.6701 MB / 0.8623 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.6877, allocations: 82.31 kB / 0.8624 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.6892, allocations: 0.8714 MB / 0.8632 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.6895, allocations: 383.9 kB / 0.8636 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.6899, allocations: 0.4985 MB / 0.8641 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.6915, allocations: 1.512 MB / 0.8656 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6915, allocations: 4.5 kB / 0.8656 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6915, allocations: 0 / 0.8656 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6916, allocations: 0.8125 kB / 0.8656 GB, free: 1.957 MB / 0.6387 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.001449/0.693, allocations: 1.262 MB / 0.8668 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6931, allocations: 10.25 kB / 0.8668 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.6932, allocations: 121.2 kB / 0.8669 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6942, allocations: 217.4 kB / 0.8671 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.6951, allocations: 0.6864 MB / 0.8678 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.6951, allocations: 63.11 kB / 0.8679 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.6952, allocations: 75.53 kB / 0.8679 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6962, allocations: 0.9331 MB / 0.8688 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6963, allocations: 7.25 kB / 0.8688 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.6963, allocations: 34.47 kB / 0.8689 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.6964, allocations: 28.58 kB / 0.8689 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.6971, allocations: 0.6137 MB / 0.8695 GB, free: 0.5508 MB / 0.6387 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.003764/0.7009, allocations: 4.59 MB / 0.874 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.7016, allocations: 0.5356 MB / 0.8745 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.7018, allocations: 245.9 kB / 0.8747 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.702, allocations: 103.9 kB / 0.8748 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.7021, allocations: 44.88 kB / 0.8749 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.7021, allocations: 0 / 0.8749 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002446/0.7045, allocations: 1.609 MB / 0.8765 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.7046, allocations: 110.2 kB / 0.8766 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.7053, allocations: 0.7187 MB / 0.8773 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.7054, allocations: 35.61 kB / 0.8773 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.7057, allocations: 427 kB / 0.8777 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.7058, allocations: 167.3 kB / 0.8779 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.706, allocations: 118.7 kB / 0.878 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7062, allocations: 326.2 kB / 0.8783 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.7065, allocations: 188.2 kB / 0.8785 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.7069, allocations: 419.5 kB / 0.8789 GB, free: 11.25 MB / 0.6544 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.00201/0.709, allocations: 1.176 MB / 0.88 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.709, allocations: 3.594 kB / 0.88 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008653/0.7098, allocations: 0.6701 MB / 0.8807 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7099, allocations: 13.16 kB / 0.8807 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7099, allocations: 4.938 kB / 0.8807 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.7099, allocations: 12.03 kB / 0.8807 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.7103, allocations: 122.7 kB / 0.8808 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.7104, allocations: 18.45 kB / 0.8808 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.7109, allocations: 34.09 kB / 0.8809 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.7109, allocations: 29.41 kB / 0.8809 GB, free: 10.82 MB / 0.6544 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.0003101/0.7113, allocations: 272.6 kB / 0.8812 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.7114, allocations: 83.52 kB / 0.8812 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.7116, allocations: 93.17 kB / 0.8813 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7116, allocations: 6.438 kB / 0.8813 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.7116, allocations: 3.938 kB / 0.8813 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006532/0.7122, allocations: 0.7031 MB / 0.882 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.7143, allocations: 1.638 MB / 0.8836 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7143, allocations: 3.344 kB / 0.8836 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.7147, allocations: 107.8 kB / 0.8837 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.7147, allocations: 5.75 kB / 0.8837 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.7148, allocations: 15.95 kB / 0.8838 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7148, allocations: 10.38 kB / 0.8838 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7148, allocations: 9 kB / 0.8838 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.7158, allocations: 0.8982 MB / 0.8847 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.716, allocations: 209.7 kB / 0.8849 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.7161, allocations: 14 kB / 0.8849 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.7166, allocations: 17.36 kB / 0.8849 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.7166, allocations: 41.7 kB / 0.8849 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.7167, allocations: 19.56 kB / 0.8849 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005515/0.7172, allocations: 0.5123 MB / 0.8854 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7172, allocations: 1.125 kB / 0.8854 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006252/0.7179, allocations: 200.9 kB / 0.8856 GB, free: 8.984 MB / 0.6544 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.001604/0.7195, allocations: 1.531 MB / 0.8871 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006921/0.7202, allocations: 485.2 kB / 0.8876 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.7202, allocations: 6.219 kB / 0.8876 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.7204, allocations: 206.1 kB / 0.8878 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.7224, allocations: 483.2 kB / 0.8883 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/0.7301, allocations: 6.623 MB / 0.8947 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.7307, allocations: 1.027 MB / 0.8957 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005796/0.7313, allocations: 202.5 kB / 0.8959 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.7317, allocations: 297.6 kB / 0.8962 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7317, allocations: 3.938 kB / 0.8962 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4654/1.197, allocations: 22.24 MB / 0.9179 GB, free: 2.285 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.617/10.81, allocations: 11.17 kB / 0.9179 GB, free: 2.281 MB / 0.67 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)