Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.005017/0.005017, allocations: 99.7 kB / 15.73 MB, free: 6.469 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.001184/0.001184, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9602/0.9602, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4414, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2074/0.6489, allocations: 187.3 MB / 0.8471 GB, free: 5.633 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.6672, allocations: 13.06 MB / 0.8598 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.6688, allocations: 35.81 kB / 0.8598 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.6708, allocations: 429.1 kB / 0.8603 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.6746, allocations: 1.151 MB / 0.8614 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.6768, allocations: 0.7053 MB / 0.8621 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.68, allocations: 2.014 MB / 0.864 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.6816, allocations: 0.8395 MB / 0.8649 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005319/0.6869, allocations: 1.825 MB / 0.8666 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.6888, allocations: 0.6629 MB / 0.8673 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.6891, allocations: 80 kB / 0.8674 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5188/1.208, allocations: 0.8684 MB / 0.8682 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009221/1.209, allocations: 383.6 kB / 0.8686 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/1.21, allocations: 0.4968 MB / 0.8691 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/1.214, allocations: 1.498 MB / 0.8705 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.214, allocations: 0 / 0.8705 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.544e-06/1.214, allocations: 0.9375 kB / 0.8705 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.151e-05/1.214, allocations: 1.375 kB / 0.8705 GB, free: 5.453 MB / 0.6856 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.002259/1.216, allocations: 1.24 MB / 0.8717 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/1.216, allocations: 11.17 kB / 0.8717 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/1.216, allocations: 121.4 kB / 0.8719 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.218, allocations: 212.2 kB / 0.8721 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/1.219, allocations: 0.6806 MB / 0.8727 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/1.219, allocations: 59.53 kB / 0.8728 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.219, allocations: 79.09 kB / 0.8729 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.221, allocations: 0.9331 MB / 0.8738 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.221, allocations: 1.844 kB / 0.8738 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/1.221, allocations: 33.5 kB / 0.8738 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/1.221, allocations: 34.12 kB / 0.8738 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.222, allocations: 0.6146 MB / 0.8744 GB, free: 4.172 MB / 0.6856 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.00512/1.227, allocations: 4.577 MB / 0.8789 GB, free: 17.03 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/1.228, allocations: 0.5302 MB / 0.8794 GB, free: 16.86 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/1.229, allocations: 251.4 kB / 0.8797 GB, free: 16.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.229, allocations: 97.44 kB / 0.8798 GB, free: 16.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.229, allocations: 49.69 kB / 0.8798 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/1.229, allocations: 0 / 0.8798 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003303/1.232, allocations: 1.577 MB / 0.8813 GB, free: 16.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/1.232, allocations: 115.4 kB / 0.8815 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.233, allocations: 0.7173 MB / 0.8822 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/1.233, allocations: 36.33 kB / 0.8822 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.234, allocations: 407.5 kB / 0.8826 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.234, allocations: 169.9 kB / 0.8827 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.234, allocations: 120.2 kB / 0.8829 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.234, allocations: 330.3 kB / 0.8832 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/1.235, allocations: 187.2 kB / 0.8834 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/1.235, allocations: 415.6 kB / 0.8837 GB, free: 14.95 MB / 0.7012 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.002218/1.237, allocations: 1.17 MB / 0.8849 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.237, allocations: 2.438 kB / 0.8849 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00109/1.238, allocations: 0.6684 MB / 0.8855 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.238, allocations: 8.125 kB / 0.8856 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.238, allocations: 6.469 kB / 0.8856 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/1.238, allocations: 13.62 kB / 0.8856 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/1.239, allocations: 130.3 kB / 0.8857 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/1.239, allocations: 18.61 kB / 0.8857 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/1.24, allocations: 25.97 kB / 0.8857 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/1.24, allocations: 29.28 kB / 0.8858 GB, free: 14.54 MB / 0.7012 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.0006021/1.24, allocations: 270.3 kB / 0.886 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/1.241, allocations: 84.16 kB / 0.8861 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/1.241, allocations: 91.23 kB / 0.8862 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.241, allocations: 9.375 kB / 0.8862 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.241, allocations: 2.812 kB / 0.8862 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008665/1.242, allocations: 0.6948 MB / 0.8869 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/1.245, allocations: 1.638 MB / 0.8885 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.245, allocations: 4.906 kB / 0.8885 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/1.245, allocations: 103 kB / 0.8886 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/1.245, allocations: 6.844 kB / 0.8886 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/1.245, allocations: 16.09 kB / 0.8886 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/1.245, allocations: 13.39 kB / 0.8886 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.245, allocations: 6.812 kB / 0.8886 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.247, allocations: 0.8865 MB / 0.8895 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/1.247, allocations: 205.1 kB / 0.8897 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.247, allocations: 17.67 kB / 0.8897 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/1.248, allocations: 21.22 kB / 0.8897 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/1.248, allocations: 35.55 kB / 0.8898 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/1.248, allocations: 29.94 kB / 0.8898 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007549/1.248, allocations: 0.5085 MB / 0.8903 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.248, allocations: 0.9688 kB / 0.8903 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001023/1.249, allocations: 202.4 kB / 0.8905 GB, free: 12.78 MB / 0.7012 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.001745/1.251, allocations: 1.526 MB / 0.892 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009113/1.252, allocations: 496.2 kB / 0.8924 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.252, allocations: 0.6875 kB / 0.8924 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/1.252, allocations: 213.3 kB / 0.8926 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/1.255, allocations: 479.5 kB / 0.8931 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/1.264, allocations: 6.584 MB / 0.8995 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/1.265, allocations: 1.027 MB / 0.9005 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007625/1.266, allocations: 203.8 kB / 0.9007 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/1.266, allocations: 297.5 kB / 0.901 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of SimCode: time 8.02e-07/1.266, allocations: 0.875 kB / 0.901 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0533/1.319, allocations: 22.61 MB / 0.9231 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.779/10.1, allocations: 13.36 kB / 0.9231 GB, free: 5.883 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)