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.007/0.007, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001504/0.001504, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7931/0.7931, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.38 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.92 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05512/0.2142, allocations: 49.75 MB / 0.7127 GB, free: 4.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.2329, allocations: 12.65 MB / 0.7251 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.2363, allocations: 79.56 kB / 0.7252 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.2391, allocations: 0.776 MB / 0.7259 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00656/0.2457, allocations: 1.901 MB / 0.7278 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.2494, allocations: 1.367 MB / 0.7291 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004514/0.254, allocations: 3.27 MB / 0.7323 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.2559, allocations: 1.269 MB / 0.7336 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.2593, allocations: 1.315 MB / 0.7348 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.2605, allocations: 0.9369 MB / 0.7358 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2607, allocations: 96 kB / 0.7358 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.263, allocations: 1.068 MB / 0.7369 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.2633, allocations: 286.8 kB / 0.7372 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.2639, allocations: 0.6723 MB / 0.7378 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.2666, allocations: 1.971 MB / 0.7397 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2666, allocations: 4 kB / 0.7397 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2666, allocations: 0 / 0.7397 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.2666, allocations: 0 / 0.7397 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.002417/0.269, allocations: 1.705 MB / 0.7414 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2691, allocations: 13.05 kB / 0.7414 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.2693, allocations: 143.4 kB / 0.7416 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.2698, allocations: 203.1 kB / 0.7418 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.2716, allocations: 1.096 MB / 0.7428 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.2717, allocations: 62 kB / 0.7429 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2718, allocations: 88 kB / 0.743 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.2734, allocations: 1.003 MB / 0.7439 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2735, allocations: 4 kB / 0.7439 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.2735, allocations: 36 kB / 0.744 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2736, allocations: 20 kB / 0.744 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.275, allocations: 0.6477 MB / 0.7446 GB, free: 3.387 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.3261/0.601, allocations: 4.713 MB / 0.7492 GB, free: 78.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.6028, allocations: 396 kB / 0.7496 GB, free: 78.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.6035, allocations: 211.7 kB / 0.7498 GB, free: 78.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/0.6044, allocations: 1.152 MB / 0.7509 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.6045, allocations: 37.27 kB / 0.751 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 3.797e-06/0.6045, allocations: 1.5 kB / 0.751 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.003927/0.6084, allocations: 1.078 MB / 0.752 GB, free: 76.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.6085, allocations: 58.05 kB / 0.7521 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.6104, allocations: 0.9754 MB / 0.753 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.6105, allocations: 32.02 kB / 0.7531 GB, free: 76.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.6111, allocations: 0.5866 MB / 0.7536 GB, free: 76.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.6112, allocations: 101.2 kB / 0.7537 GB, free: 76.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.6114, allocations: 116.2 kB / 0.7539 GB, free: 76.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.6115, allocations: 325.6 kB / 0.7542 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/0.6122, allocations: 202 kB / 0.7544 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/0.613, allocations: 409.6 kB / 0.7547 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6145, allocations: 0.5982 MB / 0.7553 GB, free: 75.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.6145, allocations: 4.031 kB / 0.7553 GB, free: 75.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002171/0.6167, allocations: 0.7559 MB / 0.7561 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6168, allocations: 8.406 kB / 0.7561 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.6168, allocations: 7.109 kB / 0.7561 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007272/0.6175, allocations: 161.4 kB / 0.7562 GB, free: 75.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.6181, allocations: 148.1 kB / 0.7564 GB, free: 75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000854/0.619, allocations: 1.72 MB / 0.7581 GB, free: 73.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/0.62, allocations: 86.48 kB / 0.7581 GB, free: 73.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6202, allocations: 30.86 kB / 0.7582 GB, free: 73.32 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.0007008/0.6209, allocations: 269.5 kB / 0.7584 GB, free: 73.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.6213, allocations: 107.9 kB / 0.7585 GB, free: 73.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.6239, allocations: 0.729 MB / 0.7592 GB, free: 72.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.624, allocations: 4.188 kB / 0.7592 GB, free: 72.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.624, allocations: 3.203 kB / 0.7593 GB, free: 72.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.624, allocations: 1.75 kB / 0.7593 GB, free: 72.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/0.6286, allocations: 1.641 MB / 0.7609 GB, free: 71.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.6287, allocations: 8.594 kB / 0.7609 GB, free: 71.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.6293, allocations: 86.28 kB / 0.7609 GB, free: 71.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009094/0.6303, allocations: 151.5 kB / 0.7611 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.6303, allocations: 11.22 kB / 0.7611 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.6315, allocations: 1.709 MB / 0.7628 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.6316, allocations: 3.125 kB / 0.7628 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.6341, allocations: 0.7708 MB / 0.7635 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/0.6347, allocations: 246.8 kB / 0.7638 GB, free: 69.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.6349, allocations: 17.95 kB / 0.7638 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008046/0.6358, allocations: 43.64 kB / 0.7638 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6359, allocations: 34.48 kB / 0.7639 GB, free: 69.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.636, allocations: 24.7 kB / 0.7639 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001455/0.6374, allocations: 0.6591 MB / 0.7645 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6375, allocations: 0 / 0.7645 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001957/0.6394, allocations: 373 kB / 0.7649 GB, free: 69.34 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.003339/0.6428, allocations: 1.625 MB / 0.7665 GB, free: 68.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.645, allocations: 0.5462 MB / 0.767 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.645, allocations: 1.312 kB / 0.767 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.646, allocations: 294.8 kB / 0.7673 GB, free: 68.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.6493, allocations: 0.5262 MB / 0.7678 GB, free: 67.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.6611, allocations: 7.284 MB / 0.7749 GB, free: 64.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.6618, allocations: 1.117 MB / 0.776 GB, free: 63.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.6627, allocations: 180.2 kB / 0.7762 GB, free: 63.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.6631, allocations: 419.4 kB / 0.7766 GB, free: 63.04 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.6631, allocations: 0 / 0.7766 GB, free: 63.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05433/0.7175, allocations: 29.52 MB / 0.8054 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.61, allocations: 6.719 kB / 0.8054 GB, free: 40.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)