Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.004168/0.004169, allocations: 99.05 kB / 15.73 MB, free: 6.008 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.001045/0.001045, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7597/0.7597, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.19 kB / 0.5851 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1598, allocations: 80.91 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04502/0.2048, allocations: 49.75 MB / 0.7127 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01608/0.221, allocations: 12.65 MB / 0.7251 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.2237, allocations: 75.56 kB / 0.7252 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2256, allocations: 0.7838 MB / 0.7259 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.2302, allocations: 1.901 MB / 0.7278 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.2334, allocations: 1.37 MB / 0.7291 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00419/0.2376, allocations: 3.26 MB / 0.7323 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.2393, allocations: 1.262 MB / 0.7335 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.2422, allocations: 1.325 MB / 0.7348 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.2432, allocations: 0.9291 MB / 0.7357 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.2433, allocations: 100 kB / 0.7358 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.2454, allocations: 1.068 MB / 0.7369 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.2456, allocations: 286.8 kB / 0.7372 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.2463, allocations: 0.6723 MB / 0.7378 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.2486, allocations: 1.985 MB / 0.7398 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2486, allocations: 0 / 0.7398 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2486, allocations: 0 / 0.7398 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.2486, allocations: 4 kB / 0.7398 GB, free: 8.598 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002338/0.251, allocations: 1.75 MB / 0.7415 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.251, allocations: 9.109 kB / 0.7415 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.2512, allocations: 135.4 kB / 0.7416 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.2517, allocations: 215.9 kB / 0.7418 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.2536, allocations: 1.108 MB / 0.7429 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.2536, allocations: 73.98 kB / 0.743 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2537, allocations: 88 kB / 0.743 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.2553, allocations: 1.003 MB / 0.744 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2554, allocations: 0 / 0.744 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.2555, allocations: 36 kB / 0.7441 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.2555, allocations: 20 kB / 0.7441 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.2569, allocations: 0.6516 MB / 0.7447 GB, free: 3.316 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.2903/0.5472, allocations: 4.723 MB / 0.7493 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.5483, allocations: 394.6 kB / 0.7497 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.5489, allocations: 217.8 kB / 0.7499 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.5494, allocations: 1.151 MB / 0.751 GB, free: 77.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.5495, allocations: 40.22 kB / 0.7511 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.5495, allocations: 0.625 kB / 0.7511 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002795/0.5523, allocations: 1.077 MB / 0.7521 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5523, allocations: 54.45 kB / 0.7522 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.5535, allocations: 0.9774 MB / 0.7531 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.5536, allocations: 31.7 kB / 0.7532 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.5539, allocations: 0.6039 MB / 0.7538 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.554, allocations: 103.5 kB / 0.7539 GB, free: 76.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5542, allocations: 115.8 kB / 0.754 GB, free: 76.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.5542, allocations: 327.6 kB / 0.7543 GB, free: 76.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.5547, allocations: 196.7 kB / 0.7545 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.5553, allocations: 408.6 kB / 0.7549 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5564, allocations: 0.61 MB / 0.7554 GB, free: 75.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.5564, allocations: 1.281 kB / 0.7555 GB, free: 75.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001559/0.558, allocations: 0.7633 MB / 0.7562 GB, free: 75.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.558, allocations: 13.11 kB / 0.7562 GB, free: 75.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.558, allocations: 9.109 kB / 0.7562 GB, free: 75.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.5586, allocations: 150 kB / 0.7564 GB, free: 75.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.5592, allocations: 146.8 kB / 0.7565 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/0.56, allocations: 1.716 MB / 0.7582 GB, free: 73.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/0.5607, allocations: 91.69 kB / 0.7583 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.5607, allocations: 29.97 kB / 0.7583 GB, free: 73.42 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.5611, allocations: 275.1 kB / 0.7586 GB, free: 73.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.5612, allocations: 111.5 kB / 0.7587 GB, free: 73.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.563, allocations: 0.7213 MB / 0.7594 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.563, allocations: 4.781 kB / 0.7594 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.563, allocations: 0.5 kB / 0.7594 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.563, allocations: 5.938 kB / 0.7594 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.5659, allocations: 1.642 MB / 0.761 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.566, allocations: 2.312 kB / 0.761 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.5665, allocations: 87.22 kB / 0.7611 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/0.5671, allocations: 152.4 kB / 0.7612 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.5671, allocations: 10.39 kB / 0.7612 GB, free: 72.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007266/0.5678, allocations: 1.711 MB / 0.7629 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5678, allocations: 5.188 kB / 0.7629 GB, free: 70.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5695, allocations: 0.7893 MB / 0.7637 GB, free: 69.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.5698, allocations: 257.8 kB / 0.7639 GB, free: 69.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5699, allocations: 7.594 kB / 0.7639 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.5705, allocations: 43.59 kB / 0.764 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.5706, allocations: 30.75 kB / 0.764 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.5706, allocations: 21.38 kB / 0.764 GB, free: 69.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008183/0.5715, allocations: 0.6584 MB / 0.7647 GB, free: 69.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5715, allocations: 0 / 0.7647 GB, free: 69.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001058/0.5725, allocations: 375 kB / 0.765 GB, free: 69.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.5747, allocations: 1.63 MB / 0.7666 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.5762, allocations: 0.5493 MB / 0.7671 GB, free: 68.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5762, allocations: 0 / 0.7671 GB, free: 68.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.577, allocations: 294.1 kB / 0.7674 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.5792, allocations: 0.5325 MB / 0.7679 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.5888, allocations: 7.323 MB / 0.7751 GB, free: 64.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.5893, allocations: 1.108 MB / 0.7762 GB, free: 63.51 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006346/0.59, allocations: 183.5 kB / 0.7763 GB, free: 63.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.5903, allocations: 421.4 kB / 0.7768 GB, free: 63.15 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.5903, allocations: 0 / 0.7768 GB, free: 63.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.6337, allocations: 29.52 MB / 0.8056 GB, free: 40.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.68, allocations: 6.188 kB / 0.8056 GB, free: 40.31 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)