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.001874/0.001874, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002122/0.002122, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.524/2.524, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.103/1.103, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 12 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 82.31 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8626/1.143, allocations: 155.7 MB / 0.7394 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02667/1.17, allocations: 10.91 MB / 0.75 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/1.173, allocations: 27.75 kB / 0.75 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003629/1.176, allocations: 439.2 kB / 0.7505 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007785/1.184, allocations: 1.041 MB / 0.7515 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00572/1.19, allocations: 0.81 MB / 0.7523 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005122/1.195, allocations: 1.165 MB / 0.7534 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/1.197, allocations: 0.6154 MB / 0.754 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006348/1.204, allocations: 1.215 MB / 0.7552 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/1.206, allocations: 430.2 kB / 0.7556 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/1.206, allocations: 32 kB / 0.7556 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/1.209, allocations: 423.3 kB / 0.756 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007545/1.209, allocations: 307.1 kB / 0.7563 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006845/1.21, allocations: 209.3 kB / 0.7565 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/1.213, allocations: 0.9856 MB / 0.7575 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.213, allocations: 0 / 0.7575 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.384e-06/1.213, allocations: 0 / 0.7575 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.922e-05/1.213, allocations: 3.938 kB / 0.7575 GB, free: 14.2 MB / 0.5762 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.003337/1.216, allocations: 1.046 MB / 0.7585 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.972e-05/1.216, allocations: 12.03 kB / 0.7585 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003587/1.217, allocations: 122.5 kB / 0.7587 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/1.219, allocations: 218.5 kB / 0.7589 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/1.221, allocations: 0.6212 MB / 0.7595 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/1.221, allocations: 61.98 kB / 0.7595 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/1.221, allocations: 76 kB / 0.7596 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/1.224, allocations: 0.9209 MB / 0.7605 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/1.224, allocations: 7.938 kB / 0.7605 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/1.224, allocations: 32 kB / 0.7605 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/1.224, allocations: 34.64 kB / 0.7606 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/1.226, allocations: 0.6099 MB / 0.7612 GB, free: 10.27 MB / 0.5762 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.008069/1.234, allocations: 4.584 MB / 0.7656 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.235, allocations: 0.533 MB / 0.7662 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/1.235, allocations: 15.98 kB / 0.7662 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/1.235, allocations: 38.56 kB / 0.7662 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 4.909e-06/1.235, allocations: 4 kB / 0.7662 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.0048/1.24, allocations: 1.571 MB / 0.7678 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.24, allocations: 106.8 kB / 0.7679 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.242, allocations: 0.7079 MB / 0.7685 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/1.242, allocations: 41.7 kB / 0.7686 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/1.242, allocations: 419.7 kB / 0.769 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/1.243, allocations: 161.7 kB / 0.7691 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/1.243, allocations: 12 kB / 0.7692 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.243, allocations: 330 kB / 0.7695 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/1.243, allocations: 185.1 kB / 0.7696 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/1.244, allocations: 417 kB / 0.77 GB, free: 0.6289 MB / 0.5762 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.002684/1.247, allocations: 0.6664 MB / 0.7707 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.247, allocations: 0 / 0.7707 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001933/1.249, allocations: 0.6722 MB / 0.7713 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.249, allocations: 10.19 kB / 0.7714 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.249, allocations: 4 kB / 0.7714 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.772e-05/1.249, allocations: 12 kB / 0.7714 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/1.25, allocations: 131.7 kB / 0.7715 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.28e-05/1.25, allocations: 14.97 kB / 0.7715 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.251, allocations: 50.02 kB / 0.7716 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/1.251, allocations: 27.94 kB / 0.7716 GB, free: 15.03 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007203/1.252, allocations: 280.6 kB / 0.7719 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/1.252, allocations: 82.97 kB / 0.7719 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/1.253, allocations: 91.66 kB / 0.772 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.253, allocations: 4 kB / 0.772 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.253, allocations: 0 / 0.772 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/1.254, allocations: 0.6988 MB / 0.7727 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/1.258, allocations: 1.636 MB / 0.7743 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.258, allocations: 4 kB / 0.7743 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/1.258, allocations: 107.9 kB / 0.7744 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/1.259, allocations: 7.953 kB / 0.7744 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/1.259, allocations: 12 kB / 0.7744 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/1.259, allocations: 11.98 kB / 0.7744 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.259, allocations: 7.938 kB / 0.7744 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.261, allocations: 1.068 MB / 0.7755 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/1.261, allocations: 208.1 kB / 0.7757 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.262, allocations: 16 kB / 0.7757 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/1.262, allocations: 31.97 kB / 0.7757 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/1.263, allocations: 44.98 kB / 0.7758 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/1.263, allocations: 15.98 kB / 0.7758 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001067/1.264, allocations: 0.5068 MB / 0.7763 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/1.264, allocations: 0 / 0.7763 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001279/1.265, allocations: 200 kB / 0.7765 GB, free: 9.645 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003458/1.269, allocations: 2.825 MB / 0.7792 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.27, allocations: 469.3 kB / 0.7797 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.27, allocations: 0 / 0.7797 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/1.271, allocations: 216.2 kB / 0.7799 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.274, allocations: 459.8 kB / 0.7803 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.291, allocations: 8.986 MB / 0.7891 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.292, allocations: 1.048 MB / 0.7901 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001675/1.294, allocations: 195.5 kB / 0.7903 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/1.295, allocations: 303.3 kB / 0.7906 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of SimCode: time 1.743e-06/1.295, allocations: 0 / 0.7906 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07078/1.365, allocations: 21.54 MB / 0.8116 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003577/1.366, allocations: 253.6 kB / 0.8119 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/5.016, allocations: 0 / 0.8119 GB, free: 5.289 MB / 0.6231 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/linux/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) Environment - environmentSimulation: