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.001949/0.001949, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002765/0.002765, allocations: 195.9 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 2.636/2.636, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.787/1.787, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 74.03 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2804, allocations: 80.92 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.6713/0.9518, allocations: 49.33 MB / 0.6322 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02654/0.9784, allocations: 12.55 MB / 0.6444 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005223/0.9837, allocations: 76.22 kB / 0.6445 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.9874, allocations: 0.6457 MB / 0.6451 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009252/0.9967, allocations: 1.695 MB / 0.6468 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006659/1.003, allocations: 1.221 MB / 0.648 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00692/1.01, allocations: 3.275 MB / 0.6512 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/1.013, allocations: 1.254 MB / 0.6524 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006073/1.019, allocations: 1.309 MB / 0.6537 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/1.022, allocations: 0.9649 MB / 0.6546 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000485/1.022, allocations: 96.22 kB / 0.6547 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/1.026, allocations: 1.071 MB / 0.6558 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006399/1.027, allocations: 297.6 kB / 0.656 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/1.029, allocations: 0.6676 MB / 0.6567 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/1.035, allocations: 1.972 MB / 0.6586 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.035, allocations: 0 / 0.6586 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.876e-06/1.035, allocations: 0 / 0.6586 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.7e-05/1.035, allocations: 4 kB / 0.6586 GB, free: 9.656 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.005781/1.041, allocations: 1.697 MB / 0.6603 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/1.041, allocations: 9.844 kB / 0.6603 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003658/1.041, allocations: 135.7 kB / 0.6604 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/1.043, allocations: 207.4 kB / 0.6606 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/1.047, allocations: 1.09 MB / 0.6617 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007274/1.048, allocations: 126.1 kB / 0.6618 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/1.048, allocations: 83.34 kB / 0.6619 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/1.052, allocations: 0.9897 MB / 0.6628 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.502e-05/1.052, allocations: 6.094 kB / 0.6628 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/1.052, allocations: 35.19 kB / 0.6629 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/1.052, allocations: 21.34 kB / 0.6629 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/1.056, allocations: 0.6548 MB / 0.6635 GB, free: 6.883 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.01025/1.066, allocations: 4.41 MB / 0.6678 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/1.068, allocations: 407.6 kB / 0.6682 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009806/1.069, allocations: 221.3 kB / 0.6684 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.07, allocations: 1.151 MB / 0.6696 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.07, allocations: 37.91 kB / 0.6696 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 3.797e-06/1.07, allocations: 0 / 0.6696 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.005392/1.076, allocations: 1.098 MB / 0.6707 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.076, allocations: 59.44 kB / 0.6707 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.079, allocations: 0.9362 MB / 0.6717 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.079, allocations: 31.95 kB / 0.6717 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007601/1.08, allocations: 0.5761 MB / 0.6722 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/1.08, allocations: 105 kB / 0.6723 GB, free: 372 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/1.08, allocations: 104.9 kB / 0.6724 GB, free: 316 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.08, allocations: 325.4 kB / 0.6728 GB, free: 16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.081, allocations: 202.4 kB / 0.6729 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.083, allocations: 381.1 kB / 0.6733 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/1.085, allocations: 0.5684 MB / 0.6739 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/1.085, allocations: 1.969 kB / 0.6739 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003527/1.089, allocations: 0.7319 MB / 0.6746 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/1.089, allocations: 6.844 kB / 0.6746 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/1.089, allocations: 10.09 kB / 0.6746 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/1.09, allocations: 160.4 kB / 0.6748 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.091, allocations: 141.4 kB / 0.6749 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/1.093, allocations: 1.72 MB / 0.6766 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.095, allocations: 107.4 kB / 0.6767 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.095, allocations: 32.38 kB / 0.6767 GB, free: 13.26 MB / 0.5137 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.001042/1.096, allocations: 266.5 kB / 0.677 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/1.097, allocations: 110.9 kB / 0.6771 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/1.101, allocations: 0.7348 MB / 0.6778 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/1.101, allocations: 4.594 kB / 0.6778 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.101, allocations: 0 / 0.6778 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.101, allocations: 1.969 kB / 0.6778 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/1.108, allocations: 1.631 MB / 0.6794 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.108, allocations: 1.375 kB / 0.6794 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/1.109, allocations: 94.28 kB / 0.6795 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/1.11, allocations: 153.5 kB / 0.6796 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/1.11, allocations: 9.578 kB / 0.6796 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/1.112, allocations: 1.706 MB / 0.6813 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.112, allocations: 2.797 kB / 0.6813 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/1.116, allocations: 0.7944 MB / 0.6821 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.117, allocations: 245.3 kB / 0.6823 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/1.117, allocations: 9.047 kB / 0.6823 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.119, allocations: 73.02 kB / 0.6824 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.119, allocations: 29.38 kB / 0.6824 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.119, allocations: 22.77 kB / 0.6824 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002187/1.121, allocations: 0.6333 MB / 0.683 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.8e-07/1.121, allocations: 0 / 0.683 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002448/1.124, allocations: 362 kB / 0.6834 GB, free: 9.227 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.005559/1.129, allocations: 1.63 MB / 0.685 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003252/1.133, allocations: 0.5661 MB / 0.6855 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.133, allocations: 0 / 0.6855 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/1.134, allocations: 298.6 kB / 0.6858 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005563/1.14, allocations: 0.5258 MB / 0.6863 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/1.17, allocations: 7.921 MB / 0.6941 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/1.172, allocations: 1.101 MB / 0.6951 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001945/1.174, allocations: 181.7 kB / 0.6953 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.175, allocations: 417.5 kB / 0.6957 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of SimCode: time 1.743e-06/1.175, allocations: 0 / 0.6957 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09845/1.273, allocations: 28.23 MB / 0.7233 GB, free: 13.56 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004352/1.274, allocations: 290.8 kB / 0.7236 GB, free: 13.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.356/5.63, allocations: 0 / 0.7236 GB, free: 13.17 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)