Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.001286/0.001286, allocations: 99.39 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.001389/0.00139, 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.26/2.26, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.477/1.477, allocations: 132.3 MB / 423.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007517/0.0007518, allocations: 12 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.3939/1.467, allocations: 147.8 MB / 0.7273 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01519/1.482, allocations: 4.274 MB / 0.7315 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/1.484, allocations: 23.81 kB / 0.7315 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/1.487, allocations: 390.3 kB / 0.7319 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008658/1.496, allocations: 1.183 MB / 0.7331 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006287/1.502, allocations: 0.7883 MB / 0.7338 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004249/1.506, allocations: 0.9449 MB / 0.7347 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/1.508, allocations: 392.4 kB / 0.7351 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/1.51, allocations: 490.2 kB / 0.7356 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/1.512, allocations: 306.8 kB / 0.7359 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/1.512, allocations: 24 kB / 0.7359 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/1.516, allocations: 0.6123 MB / 0.7365 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007624/1.517, allocations: 179.5 kB / 0.7367 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006352/1.518, allocations: 161.3 kB / 0.7368 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/1.52, allocations: 0.7677 MB / 0.7376 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.52, allocations: 0 / 0.7376 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.627e-06/1.52, allocations: 4 kB / 0.7376 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.887e-05/1.52, allocations: 0 / 0.7376 GB, free: 1.91 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003684/1.524, allocations: 0.8607 MB / 0.7384 GB, free: 1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.737e-05/1.524, allocations: 12.03 kB / 0.7384 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003325/1.525, allocations: 86.52 kB / 0.7385 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/1.527, allocations: 167 kB / 0.7387 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.529, allocations: 0.5131 MB / 0.7392 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/1.529, allocations: 33 kB / 0.7392 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/1.53, allocations: 47.95 kB / 0.7393 GB, free: 104 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.532, allocations: 462.4 kB / 0.7397 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.532, allocations: 0 / 0.7397 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/1.532, allocations: 16 kB / 0.7397 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-05/1.532, allocations: 20.98 kB / 0.7397 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/1.534, allocations: 427.7 kB / 0.7401 GB, free: 15.19 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.00635/1.54, allocations: 2.024 MB / 0.7421 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.541, allocations: 290.1 kB / 0.7424 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/1.541, allocations: 15.98 kB / 0.7424 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/1.541, allocations: 38.5 kB / 0.7424 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 7.855e-06/1.541, allocations: 0 / 0.7424 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.003644/1.545, allocations: 0.6463 MB / 0.7431 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/1.545, allocations: 59.36 kB / 0.7431 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.546, allocations: 449.8 kB / 0.7436 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/1.547, allocations: 33.64 kB / 0.7436 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/1.547, allocations: 284.2 kB / 0.7439 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/1.547, allocations: 110.4 kB / 0.744 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/1.547, allocations: 4 kB / 0.744 GB, free: 11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002842/1.548, allocations: 358.8 kB / 0.7443 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/1.548, allocations: 127.9 kB / 0.7444 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/1.549, allocations: 211.6 kB / 0.7446 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/1.55, allocations: 159.9 kB / 0.7448 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.55, allocations: 0 / 0.7448 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001597/1.551, allocations: 406.3 kB / 0.7452 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006666/1.552, allocations: 0.5301 MB / 0.7457 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.552, allocations: 4 kB / 0.7457 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/1.552, allocations: 0 / 0.7457 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/1.553, allocations: 67.91 kB / 0.7458 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/1.553, allocations: 11.89 kB / 0.7458 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.554, allocations: 67.7 kB / 0.7458 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/1.554, allocations: 12 kB / 0.7459 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.554, allocations: 4 kB / 0.7459 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/1.556, allocations: 343.9 kB / 0.7462 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.556, allocations: 4 kB / 0.7462 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/1.556, allocations: 0 / 0.7462 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/1.556, allocations: 76.06 kB / 0.7463 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/1.556, allocations: 7.984 kB / 0.7463 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.558, allocations: 51.73 kB / 0.7463 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/1.558, allocations: 20 kB / 0.7463 GB, free: 8.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0007833/1.559, allocations: 284.9 kB / 0.7466 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/1.559, allocations: 51.34 kB / 0.7467 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/1.561, allocations: 428.7 kB / 0.7471 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.561, allocations: 4 kB / 0.7471 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/1.561, allocations: 0 / 0.7471 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/1.562, allocations: 457.3 kB / 0.7475 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/1.567, allocations: 1.141 MB / 0.7486 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.567, allocations: 4 kB / 0.7486 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/1.567, allocations: 59.91 kB / 0.7487 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/1.568, allocations: 53.03 kB / 0.7487 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/1.568, allocations: 11.98 kB / 0.7487 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/1.57, allocations: 1.441 MB / 0.7501 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.571, allocations: 0 / 0.7501 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/1.573, allocations: 0.8022 MB / 0.7509 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/1.574, allocations: 160.4 kB / 0.7511 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.574, allocations: 20 kB / 0.7511 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/1.575, allocations: 39.88 kB / 0.7511 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.575, allocations: 31.91 kB / 0.7512 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/1.575, allocations: 12 kB / 0.7512 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007644/1.576, allocations: 314.9 kB / 0.7515 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/1.576, allocations: 0 / 0.7515 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001915/1.578, allocations: 303.2 kB / 0.7518 GB, free: 2.559 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004021/1.582, allocations: 1.912 MB / 0.7536 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001999/1.584, allocations: 0.4889 MB / 0.7541 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.584, allocations: 0 / 0.7541 GB, free: 96 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.585, allocations: 294.5 kB / 0.7544 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.588, allocations: 303 kB / 0.7547 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/1.597, allocations: 3.813 MB / 0.7584 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/1.598, allocations: 0.9134 MB / 0.7593 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00108/1.599, allocations: 164.4 kB / 0.7595 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/1.6, allocations: 187 kB / 0.7596 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of SimCode: time 1.783e-06/1.6, allocations: 3.938 kB / 0.7596 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05488/1.655, allocations: 14.51 MB / 0.7738 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004169/1.655, allocations: 253.2 kB / 0.7741 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.292/4.947, allocations: 2.672 kB / 0.7741 GB, free: 11.84 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) Environment - environmentSimulation: