Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8202/0.8202, allocations: 133.5 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009096, allocations: 93.55 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.1e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5208, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.442/5.963, allocations: 1.911 GB / 2.545 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/5.964, allocations: 87.95 kB / 2.545 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.008/7.971, allocations: 470.3 MB / 3.004 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.413e-06/7.972, allocations: 3.844 kB / 3.004 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.794e-05/7.972, allocations: 22.47 kB / 3.004 GB, free: 136.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003885/7.975, allocations: 1.487 MB / 3.006 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/7.976, allocations: 11.31 kB / 3.006 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/7.977, allocations: 287.5 kB / 3.006 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/7.979, allocations: 0.8351 MB / 3.007 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/7.979, allocations: 26.84 kB / 3.007 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/7.979, allocations: 41 kB / 3.007 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/7.981, allocations: 0.8515 MB / 3.008 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/7.982, allocations: 0.8734 MB / 3.009 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/7.982, allocations: 0 / 3.009 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/7.982, allocations: 3.953 kB / 3.009 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.545e-05/7.982, allocations: 76.56 kB / 3.009 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/7.987, allocations: 3.405 MB / 3.012 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/7.988, allocations: 0.863 MB / 3.013 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/7.989, allocations: 344.7 kB / 3.013 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/7.989, allocations: 195.1 kB / 3.013 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/7.989, allocations: 41.81 kB / 3.013 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.056e-06/7.989, allocations: 2.906 kB / 3.013 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.001507/7.99, allocations: 0.7071 MB / 3.014 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/7.991, allocations: 113.1 kB / 3.014 GB, free: 133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/7.991, allocations: 0.5508 MB / 3.015 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/7.991, allocations: 29.48 kB / 3.015 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/7.991, allocations: 423.1 kB / 3.015 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/7.992, allocations: 203.4 kB / 3.015 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/7.992, allocations: 0 / 3.015 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001012/7.992, allocations: 393.2 kB / 3.016 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/7.992, allocations: 289.2 kB / 3.016 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/7.993, allocations: 432.1 kB / 3.016 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/7.994, allocations: 0.6134 MB / 3.017 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/7.994, allocations: 0 / 3.017 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002002/7.996, allocations: 1.078 MB / 3.018 GB, free: 132 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/7.996, allocations: 0.882 MB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/7.996, allocations: 3.188 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/7.996, allocations: 3.969 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/7.997, allocations: 149 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/7.997, allocations: 7.281 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009187/7.998, allocations: 76.95 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/7.998, allocations: 35.89 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/7.998, allocations: 8.031 kB / 3.019 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001626/8, allocations: 0.8825 MB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/8, allocations: 3.594 kB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/8, allocations: 6.438 kB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/8, allocations: 150.3 kB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/8, allocations: 4.312 kB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/8.001, allocations: 75.2 kB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/8.001, allocations: 25.92 kB / 3.02 GB, free: 131.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/8.001, allocations: 121.6 kB / 3.02 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001074/8.002, allocations: 0.6583 MB / 3.021 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/8.002, allocations: 91.84 kB / 3.021 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/8.004, allocations: 0.7207 MB / 3.022 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/8.004, allocations: 3.906 kB / 3.022 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/8.004, allocations: 96 / 3.022 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008614/8.005, allocations: 0.6969 MB / 3.023 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/8.007, allocations: 1.988 MB / 3.024 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/8.007, allocations: 3.844 kB / 3.024 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/8.008, allocations: 137 kB / 3.025 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/8.008, allocations: 7.703 kB / 3.025 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/8.008, allocations: 13.28 kB / 3.025 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/8.008, allocations: 7.625 kB / 3.025 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/8.008, allocations: 9.188 kB / 3.025 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/8.01, allocations: 1.432 MB / 3.026 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/8.01, allocations: 249.2 kB / 3.026 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/8.01, allocations: 6.656 kB / 3.026 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/8.011, allocations: 43.06 kB / 3.026 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/8.011, allocations: 45.81 kB / 3.026 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/8.011, allocations: 26.19 kB / 3.026 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004879/8.012, allocations: 433.9 kB / 3.027 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/8.012, allocations: 1.781 kB / 3.027 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002433/8.014, allocations: 0.8732 MB / 3.028 GB, free: 129.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004829/8.019, allocations: 4.769 MB / 3.032 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001596/8.02, allocations: 1.054 MB / 3.033 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/8.02, allocations: 0 / 3.033 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/8.021, allocations: 328.9 kB / 3.034 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/8.023, allocations: 438.2 kB / 3.034 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/8.027, allocations: 1.809 MB / 3.036 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/8.027, allocations: 1.099 MB / 3.037 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001445/8.029, allocations: 427.2 kB / 3.037 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/8.029, allocations: 325.5 kB / 3.038 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/8.029, allocations: 1.875 kB / 3.038 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07076/8.1, allocations: 37.67 MB / 3.074 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/8.1, allocations: 173.8 kB / 3.075 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/11.36, allocations: 0 / 3.075 GB, free: 112.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)