Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_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.001386/0.001386, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001561/0.001561, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6794/0.6794, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.91 kB / 0.5013 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2958, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0431/0.3389, allocations: 49.34 MB / 0.6279 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.3546, allocations: 12.55 MB / 0.6401 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.3565, allocations: 79.5 kB / 0.6402 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.358, allocations: 0.6409 MB / 0.6408 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.3614, allocations: 1.699 MB / 0.6425 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.3641, allocations: 1.235 MB / 0.6437 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.367, allocations: 3.276 MB / 0.6469 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.3682, allocations: 1.233 MB / 0.6481 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.3705, allocations: 1.312 MB / 0.6494 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.3714, allocations: 0.9563 MB / 0.6503 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3715, allocations: 96 kB / 0.6504 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.3731, allocations: 1.08 MB / 0.6514 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.3733, allocations: 290.8 kB / 0.6517 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.3738, allocations: 0.6723 MB / 0.6524 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.3756, allocations: 1.967 MB / 0.6543 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3756, allocations: 0 / 0.6543 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3756, allocations: 0 / 0.6543 GB, free: 5.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3756, allocations: 0 / 0.6543 GB, free: 5.098 MB / 494.1 MB 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.002063/0.3777, allocations: 1.709 MB / 0.656 GB, free: 3.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3777, allocations: 8.031 kB / 0.656 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.3779, allocations: 135.4 kB / 0.6561 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.3784, allocations: 211 kB / 0.6563 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.3799, allocations: 1.084 MB / 0.6574 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.3803, allocations: 117.9 kB / 0.6575 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.3804, allocations: 84 kB / 0.6576 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.3819, allocations: 0.9883 MB / 0.6585 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3819, allocations: 3.938 kB / 0.6585 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.382, allocations: 36 kB / 0.6586 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.382, allocations: 28 kB / 0.6586 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.3834, allocations: 0.6556 MB / 0.6592 GB, free: 15.86 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.004031/0.3874, allocations: 4.414 MB / 0.6635 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3885, allocations: 402.6 kB / 0.6639 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.389, allocations: 224.7 kB / 0.6641 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.3897, allocations: 1.144 MB / 0.6653 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3897, allocations: 46.55 kB / 0.6653 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.3897, allocations: 0 / 0.6653 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002596/0.3923, allocations: 1.094 MB / 0.6664 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.3924, allocations: 55.41 kB / 0.6664 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.3933, allocations: 0.9317 MB / 0.6673 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.3933, allocations: 33.7 kB / 0.6674 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.3937, allocations: 0.5851 MB / 0.6679 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.3938, allocations: 106.6 kB / 0.668 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3939, allocations: 110 kB / 0.6681 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.394, allocations: 322 kB / 0.6685 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.3945, allocations: 197 kB / 0.6686 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.3951, allocations: 386.8 kB / 0.669 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3962, allocations: 0.5649 MB / 0.6696 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3962, allocations: 4 kB / 0.6696 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001423/0.3977, allocations: 0.7293 MB / 0.6703 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3977, allocations: 11.94 kB / 0.6703 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3977, allocations: 12.03 kB / 0.6703 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.3983, allocations: 154.5 kB / 0.6704 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.3989, allocations: 143.8 kB / 0.6706 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009034/0.3998, allocations: 1.715 MB / 0.6723 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.4004, allocations: 103.5 kB / 0.6724 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.4004, allocations: 31.98 kB / 0.6724 GB, free: 1.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0002951/0.4007, allocations: 261.7 kB / 0.6726 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4009, allocations: 114.6 kB / 0.6727 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.4025, allocations: 0.7383 MB / 0.6735 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4026, allocations: 8.062 kB / 0.6735 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4026, allocations: 4 kB / 0.6735 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4026, allocations: 3.984 kB / 0.6735 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.405, allocations: 1.636 MB / 0.6751 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.405, allocations: 4.031 kB / 0.6751 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.4055, allocations: 91.89 kB / 0.6752 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.406, allocations: 150.3 kB / 0.6753 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.406, allocations: 11.98 kB / 0.6753 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008816/0.4069, allocations: 1.712 MB / 0.677 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4069, allocations: 0 / 0.677 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.4083, allocations: 0.7924 MB / 0.6778 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.4086, allocations: 243.6 kB / 0.678 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4087, allocations: 8 kB / 0.678 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.4094, allocations: 83.77 kB / 0.6781 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.4094, allocations: 27.97 kB / 0.6781 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.4095, allocations: 19.97 kB / 0.6781 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006482/0.4101, allocations: 0.6303 MB / 0.6788 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4101, allocations: 0 / 0.6788 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007591/0.4109, allocations: 367.1 kB / 0.6791 GB, free: 10.35 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.002169/0.4131, allocations: 1.621 MB / 0.6807 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.4145, allocations: 0.5593 MB / 0.6812 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4145, allocations: 0 / 0.6812 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.4153, allocations: 304.7 kB / 0.6815 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4173, allocations: 0.5264 MB / 0.682 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009984/0.4273, allocations: 7.938 MB / 0.6898 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.4278, allocations: 1.103 MB / 0.6909 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00054/0.4284, allocations: 179 kB / 0.691 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.4288, allocations: 415.3 kB / 0.6914 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.4288, allocations: 4 kB / 0.6914 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.343/1.772, allocations: 28.22 MB / 0.719 GB, free: 1.543 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.772, allocations: 270.9 kB / 0.7193 GB, free: 1.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/4.042, allocations: 64 / 0.7193 GB, free: 1.18 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)