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.008896/0.008895, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.002008/0.002008, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.19/2.19, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.242/1.242, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 64.58 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2574, allocations: 80.2 MB / 0.6592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9701/1.228, allocations: 187.3 MB / 0.8421 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02133/1.249, allocations: 13.06 MB / 0.8548 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/1.251, allocations: 32.44 kB / 0.8549 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/1.253, allocations: 428.7 kB / 0.8553 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/1.257, allocations: 1.157 MB / 0.8564 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/1.26, allocations: 0.709 MB / 0.8571 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003645/1.263, allocations: 2.013 MB / 0.8591 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.265, allocations: 0.8326 MB / 0.8599 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005477/1.27, allocations: 1.83 MB / 0.8617 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/1.273, allocations: 0.6649 MB / 0.8623 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/1.273, allocations: 82.16 kB / 0.8624 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/1.276, allocations: 0.8663 MB / 0.8632 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005081/1.276, allocations: 386.2 kB / 0.8636 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007564/1.277, allocations: 0.4972 MB / 0.8641 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/1.28, allocations: 1.505 MB / 0.8656 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.28, allocations: 0 / 0.8656 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.717e-06/1.28, allocations: 3.031 kB / 0.8656 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.554e-05/1.28, allocations: 0 / 0.8656 GB, free: 1.953 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.002288/1.282, allocations: 1.232 MB / 0.8668 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.282, allocations: 11.56 kB / 0.8668 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/1.282, allocations: 126 kB / 0.8669 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/1.284, allocations: 212.2 kB / 0.8671 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.285, allocations: 0.6774 MB / 0.8678 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/1.285, allocations: 59 kB / 0.8678 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.286, allocations: 82.16 kB / 0.8679 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/1.287, allocations: 0.9303 MB / 0.8688 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/1.287, allocations: 5.188 kB / 0.8688 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/1.288, allocations: 33.59 kB / 0.8689 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.288, allocations: 29.22 kB / 0.8689 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/1.289, allocations: 0.6185 MB / 0.8695 GB, free: 0.5898 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.005483/1.294, allocations: 4.572 MB / 0.8739 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/1.295, allocations: 0.5367 MB / 0.8745 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/1.296, allocations: 247 kB / 0.8747 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/1.296, allocations: 97.19 kB / 0.8748 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.296, allocations: 41.12 kB / 0.8748 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 3.647e-06/1.296, allocations: 2.938 kB / 0.8748 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.003637/1.3, allocations: 1.58 MB / 0.8764 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/1.3, allocations: 113.8 kB / 0.8765 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.301, allocations: 0.7155 MB / 0.8772 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/1.301, allocations: 36.11 kB / 0.8772 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/1.302, allocations: 416.9 kB / 0.8776 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.302, allocations: 165.5 kB / 0.8778 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/1.302, allocations: 116.1 kB / 0.8779 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.302, allocations: 333 kB / 0.8782 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/1.303, allocations: 182.4 kB / 0.8784 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/1.303, allocations: 418.2 kB / 0.8788 GB, free: 11.34 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.003007/1.306, allocations: 1.172 MB / 0.8799 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.306, allocations: 3.344 kB / 0.8799 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001452/1.308, allocations: 0.6636 MB / 0.8806 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.308, allocations: 9.5 kB / 0.8806 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.308, allocations: 4.812 kB / 0.8806 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.308, allocations: 11.66 kB / 0.8806 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/1.309, allocations: 125.7 kB / 0.8807 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/1.309, allocations: 15.91 kB / 0.8807 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/1.309, allocations: 39.61 kB / 0.8808 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/1.31, allocations: 29.22 kB / 0.8808 GB, free: 10.92 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.0005414/1.31, allocations: 277.1 kB / 0.8811 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/1.31, allocations: 78.66 kB / 0.8811 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/1.311, allocations: 92.72 kB / 0.8812 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.311, allocations: 3.438 kB / 0.8812 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.311, allocations: 7.719 kB / 0.8812 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009357/1.311, allocations: 0.6991 MB / 0.8819 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/1.315, allocations: 1.639 MB / 0.8835 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.315, allocations: 6.406 kB / 0.8835 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/1.315, allocations: 103.5 kB / 0.8836 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.315, allocations: 8.125 kB / 0.8836 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.315, allocations: 15.75 kB / 0.8837 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.315, allocations: 8.844 kB / 0.8837 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.315, allocations: 10.06 kB / 0.8837 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/1.317, allocations: 0.8858 MB / 0.8845 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.317, allocations: 209.8 kB / 0.8847 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.317, allocations: 21.72 kB / 0.8848 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/1.318, allocations: 19.5 kB / 0.8848 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/1.318, allocations: 38.69 kB / 0.8848 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/1.318, allocations: 21.86 kB / 0.8848 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000908/1.319, allocations: 0.513 MB / 0.8853 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/1.319, allocations: 0.875 kB / 0.8853 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001105/1.32, allocations: 201.6 kB / 0.8855 GB, free: 9.121 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.002385/1.323, allocations: 1.512 MB / 0.887 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.324, allocations: 488.4 kB / 0.8875 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.324, allocations: 0.9688 kB / 0.8875 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/1.324, allocations: 212.5 kB / 0.8877 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/1.327, allocations: 493.9 kB / 0.8881 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.34, allocations: 6.606 MB / 0.8946 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.342, allocations: 1.026 MB / 0.8956 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001344/1.343, allocations: 197.9 kB / 0.8958 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/1.344, allocations: 296.9 kB / 0.8961 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of SimCode: time 2.445e-06/1.344, allocations: 0 / 0.8961 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/1.421, allocations: 22.59 MB / 0.9181 GB, free: 2.043 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.88, allocations: 4.891 kB / 0.9181 GB, free: 2.039 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)