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.001059/0.001059, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.899/0.899, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 61.05 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2791/0.4129, allocations: 49.73 MB / 0.633 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.4275, allocations: 12.65 MB / 0.6454 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.4302, allocations: 78.47 kB / 0.6455 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.4321, allocations: 0.7516 MB / 0.6462 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.4362, allocations: 1.814 MB / 0.648 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.4392, allocations: 1.34 MB / 0.6493 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.4427, allocations: 3.257 MB / 0.6525 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.4442, allocations: 1.274 MB / 0.6537 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.4469, allocations: 1.291 MB / 0.655 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.448, allocations: 0.9278 MB / 0.6559 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.4481, allocations: 94.78 kB / 0.656 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.4501, allocations: 1.065 MB / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.4504, allocations: 290.1 kB / 0.6573 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.4511, allocations: 0.6785 MB / 0.6579 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.4535, allocations: 1.938 MB / 0.6598 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4535, allocations: 4 kB / 0.6598 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4535, allocations: 0 / 0.6598 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.4536, allocations: 0.9375 kB / 0.6598 GB, free: 9.02 MB / 0.4981 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.002546/0.4561, allocations: 1.699 MB / 0.6615 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4562, allocations: 9.625 kB / 0.6615 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.4563, allocations: 140.3 kB / 0.6616 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006189/0.4569, allocations: 206.8 kB / 0.6618 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4587, allocations: 1.023 MB / 0.6628 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.4591, allocations: 127.8 kB / 0.663 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4592, allocations: 82.91 kB / 0.663 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.4609, allocations: 1.012 MB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4609, allocations: 1.469 kB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/0.461, allocations: 33.72 kB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.461, allocations: 22.81 kB / 0.6641 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.4625, allocations: 0.6589 MB / 0.6647 GB, free: 6.234 MB / 0.4981 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.00473/0.4672, allocations: 4.764 MB / 0.6694 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.4686, allocations: 411.2 kB / 0.6698 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.4691, allocations: 221.8 kB / 0.67 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/0.4697, allocations: 1.151 MB / 0.6711 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4698, allocations: 33.62 kB / 0.6711 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.4698, allocations: 4 kB / 0.6711 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002995/0.4728, allocations: 1.099 MB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.4728, allocations: 54.28 kB / 0.6723 GB, free: 328 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.474, allocations: 0.9727 MB / 0.6732 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.4741, allocations: 36.33 kB / 0.6733 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.4746, allocations: 0.5848 MB / 0.6738 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4747, allocations: 106.4 kB / 0.6739 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4749, allocations: 115.6 kB / 0.674 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.475, allocations: 328.6 kB / 0.6744 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.4756, allocations: 203.8 kB / 0.6745 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/0.4764, allocations: 410.5 kB / 0.6749 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.4777, allocations: 0.6136 MB / 0.6755 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4777, allocations: 1.188 kB / 0.6755 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001902/0.4796, allocations: 0.7669 MB / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4796, allocations: 9.031 kB / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4796, allocations: 9.766 kB / 0.6763 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.4803, allocations: 160.9 kB / 0.6765 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.4809, allocations: 152.5 kB / 0.6766 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.482, allocations: 1.717 MB / 0.6783 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/0.4828, allocations: 89.48 kB / 0.6784 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.4829, allocations: 34.03 kB / 0.6784 GB, free: 12.14 MB / 0.5137 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.0004033/0.4833, allocations: 273.6 kB / 0.6787 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.4834, allocations: 110.9 kB / 0.6788 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.4854, allocations: 0.7269 MB / 0.6795 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4854, allocations: 4.516 kB / 0.6795 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4854, allocations: 2.219 kB / 0.6795 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4854, allocations: 1.5 kB / 0.6795 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.4884, allocations: 1.637 MB / 0.6811 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4884, allocations: 6 kB / 0.6811 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.4889, allocations: 96.98 kB / 0.6812 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/0.4895, allocations: 145.8 kB / 0.6813 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.4895, allocations: 14.09 kB / 0.6813 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.4905, allocations: 1.714 MB / 0.683 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4905, allocations: 1.25 kB / 0.683 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.4923, allocations: 0.7875 MB / 0.6838 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.4926, allocations: 242.9 kB / 0.684 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4928, allocations: 7.438 kB / 0.684 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.4934, allocations: 53.41 kB / 0.6841 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.4935, allocations: 35.19 kB / 0.6841 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.4935, allocations: 20.84 kB / 0.6841 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008873/0.4944, allocations: 0.66 MB / 0.6848 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4944, allocations: 4 kB / 0.6848 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001113/0.4955, allocations: 373.7 kB / 0.6851 GB, free: 8.09 MB / 0.5137 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.002746/0.4983, allocations: 1.648 MB / 0.6867 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.5001, allocations: 0.5786 MB / 0.6873 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5001, allocations: 1.188 kB / 0.6873 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.501, allocations: 297.7 kB / 0.6876 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.5034, allocations: 0.5258 MB / 0.6881 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.5153, allocations: 7.738 MB / 0.6957 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.5159, allocations: 1.1 MB / 0.6967 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008002/0.5167, allocations: 184 kB / 0.6969 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.5172, allocations: 418.4 kB / 0.6973 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.5172, allocations: 0 / 0.6973 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.5721, allocations: 29.25 MB / 0.7259 GB, free: 10.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/18.48, allocations: 8.031 kB / 0.7259 GB, free: 10.91 MB / 0.545 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)