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.001734/0.001735, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002181/0.002181, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.501/2.501, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.593/1.593, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 60.84 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 80.93 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8408/1.13, allocations: 184.8 MB / 0.7645 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0261/1.156, allocations: 12.95 MB / 0.7771 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/1.158, allocations: 31.81 kB / 0.7771 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/1.16, allocations: 362 kB / 0.7775 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/1.166, allocations: 1.078 MB / 0.7785 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/1.169, allocations: 0.6359 MB / 0.7792 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00449/1.174, allocations: 2.021 MB / 0.7811 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/1.176, allocations: 0.8094 MB / 0.7819 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006736/1.182, allocations: 1.771 MB / 0.7837 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/1.185, allocations: 0.7064 MB / 0.7844 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003849/1.185, allocations: 76 kB / 0.7844 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/1.189, allocations: 0.9079 MB / 0.7853 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008141/1.19, allocations: 387 kB / 0.7857 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.191, allocations: 0.4976 MB / 0.7862 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/1.195, allocations: 1.542 MB / 0.7877 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.195, allocations: 0 / 0.7877 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/1.195, allocations: 4 kB / 0.7877 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.774e-05/1.195, allocations: 0 / 0.7877 GB, free: 12.55 MB / 0.6075 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.003454/1.199, allocations: 1.23 MB / 0.7889 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.592e-05/1.199, allocations: 8.031 kB / 0.7889 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002835/1.199, allocations: 122.5 kB / 0.789 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/1.201, allocations: 214.6 kB / 0.7892 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/1.203, allocations: 0.6441 MB / 0.7898 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/1.203, allocations: 58 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/1.203, allocations: 76 kB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/1.205, allocations: 0.9366 MB / 0.7909 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.205, allocations: 7.875 kB / 0.7909 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.206, allocations: 36 kB / 0.7909 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/1.206, allocations: 25.31 kB / 0.7909 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/1.207, allocations: 0.6138 MB / 0.7915 GB, free: 8.406 MB / 0.6075 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.006879/1.214, allocations: 4.585 MB / 0.796 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.215, allocations: 0.5408 MB / 0.7965 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/1.216, allocations: 253 kB / 0.7968 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/1.216, allocations: 101.1 kB / 0.7969 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/1.216, allocations: 50.5 kB / 0.7969 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/1.216, allocations: 0 / 0.7969 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.004738/1.221, allocations: 1.571 MB / 0.7985 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.221, allocations: 110.8 kB / 0.7986 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.223, allocations: 0.7273 MB / 0.7993 GB, free: 16 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-05/1.223, allocations: 33.7 kB / 0.7993 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/1.223, allocations: 419.7 kB / 0.7997 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.223, allocations: 153.8 kB / 0.7999 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/1.224, allocations: 122.1 kB / 0.8 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.224, allocations: 334 kB / 0.8003 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/1.224, allocations: 185.2 kB / 0.8005 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/1.225, allocations: 413 kB / 0.8009 GB, free: 14.28 MB / 0.6231 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.003335/1.228, allocations: 1.167 MB / 0.802 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.228, allocations: 4 kB / 0.802 GB, free: 13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001596/1.23, allocations: 0.6635 MB / 0.8027 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.23, allocations: 8 kB / 0.8027 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.23, allocations: 8 kB / 0.8027 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/1.23, allocations: 9.531 kB / 0.8027 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/1.231, allocations: 135.8 kB / 0.8028 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/1.231, allocations: 8.703 kB / 0.8028 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.232, allocations: 47.81 kB / 0.8029 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/1.232, allocations: 32 kB / 0.8029 GB, free: 12.09 MB / 0.6231 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.0005723/1.233, allocations: 279.8 kB / 0.8032 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/1.233, allocations: 87 kB / 0.8032 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/1.233, allocations: 87.66 kB / 0.8033 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.233, allocations: 4 kB / 0.8033 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.233, allocations: 4 kB / 0.8033 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/1.234, allocations: 0.6949 MB / 0.804 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/1.238, allocations: 1.642 MB / 0.8056 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.238, allocations: 7.938 kB / 0.8056 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/1.239, allocations: 103.8 kB / 0.8057 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/1.239, allocations: 7.938 kB / 0.8057 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/1.239, allocations: 16.48 kB / 0.8058 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/1.239, allocations: 12 kB / 0.8058 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.239, allocations: 11.22 kB / 0.8058 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/1.241, allocations: 0.8869 MB / 0.8066 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/1.241, allocations: 208.2 kB / 0.8068 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/1.242, allocations: 12 kB / 0.8069 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/1.243, allocations: 47.86 kB / 0.8069 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.243, allocations: 36.41 kB / 0.8069 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/1.243, allocations: 23.98 kB / 0.807 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009491/1.244, allocations: 0.5068 MB / 0.8074 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/1.244, allocations: 0 / 0.8074 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001214/1.245, allocations: 204 kB / 0.8076 GB, free: 6.957 MB / 0.6231 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.002573/1.247, allocations: 1.526 MB / 0.8091 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.249, allocations: 0.5237 MB / 0.8096 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.249, allocations: 0 / 0.8096 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/1.249, allocations: 217.4 kB / 0.8099 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/1.253, allocations: 484.8 kB / 0.8103 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.267, allocations: 7.164 MB / 0.8173 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/1.268, allocations: 1.028 MB / 0.8183 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001225/1.269, allocations: 199 kB / 0.8185 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/1.27, allocations: 303.3 kB / 0.8188 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/1.27, allocations: 0 / 0.8188 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07028/1.34, allocations: 21.88 MB / 0.8402 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003931/1.341, allocations: 278.6 kB / 0.8404 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.714/5.055, allocations: 7.688 kB / 0.8404 GB, free: 5.262 MB / 0.6544 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)