Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestMixer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestMixer3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.05e-05, allocations: 0 / 204.9 MB, free: 9.957 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 31.99 MB / 236.9 MB, free: 5.434 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3): time 1.456/1.582, allocations: 297.1 MB / 0.5214 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4209/2.002, allocations: 186.9 MB / 0.7039 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005874/2.003, allocations: 21.03 kB / 0.7039 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/2.003, allocations: 96.67 kB / 0.704 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009609/2.004, allocations: 323.4 kB / 0.7043 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02379/2.028, allocations: 9.162 MB / 0.7133 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001608/2.03, allocations: 1.262 MB / 0.7145 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007111/2.03, allocations: 0.615 MB / 0.7151 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/2.031, allocations: 429.2 kB / 0.7155 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/2.031, allocations: 490.8 kB / 0.716 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/2.031, allocations: 53.75 kB / 0.716 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03145/2.063, allocations: 20.25 MB / 0.7358 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/2.063, allocations: 195.6 kB / 0.736 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/2.064, allocations: 0.5538 MB / 0.7365 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02399/2.088, allocations: 10.8 MB / 0.7471 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/2.089, allocations: 2.391 kB / 0.7471 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.745e-06/2.089, allocations: 5.531 kB / 0.7471 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.06e-05/2.089, allocations: 2.125 kB / 0.7471 GB, free: 15.06 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.005841/2.094, allocations: 2.287 MB / 0.7493 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/2.094, allocations: 9.344 kB / 0.7493 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002211/2.095, allocations: 183.9 kB / 0.7495 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/2.095, allocations: 149.4 kB / 0.7496 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000746/2.096, allocations: 0.5806 MB / 0.7502 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/2.096, allocations: 98.47 kB / 0.7503 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/2.096, allocations: 118.5 kB / 0.7504 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/2.098, allocations: 1.288 MB / 0.7517 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/2.098, allocations: 9.781 kB / 0.7517 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/2.098, allocations: 52.12 kB / 0.7517 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/2.098, allocations: 32.25 kB / 0.7518 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/2.099, allocations: 0.8458 MB / 0.7526 GB, free: 12.44 MB / 0.5919 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.01447/2.114, allocations: 12.2 MB / 0.7645 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/2.114, allocations: 301.2 kB / 0.7648 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/2.114, allocations: 112.4 kB / 0.7649 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4472/2.561, allocations: 212.1 MB / 0.972 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/2.562, allocations: 35.97 kB / 0.972 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.795e-06/2.562, allocations: 0 / 0.972 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.003116/2.565, allocations: 1.175 MB / 0.9732 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/2.565, allocations: 58.94 kB / 0.9732 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/2.566, allocations: 0.7076 MB / 0.9739 GB, free: 48 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/2.566, allocations: 33.83 kB / 0.974 GB, free: 12 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.1798/2.746, allocations: 0.6104 MB / 0.9746 GB, free: 461.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/2.746, allocations: 115.3 kB / 0.9747 GB, free: 461.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/2.746, allocations: 94.12 kB / 0.9748 GB, free: 461.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/2.746, allocations: 378.1 kB / 0.9751 GB, free: 461.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/2.747, allocations: 163.8 kB / 0.9753 GB, free: 461.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/2.747, allocations: 0.5977 MB / 0.9759 GB, free: 460.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/2.748, allocations: 0.7959 MB / 0.9766 GB, free: 460.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/2.748, allocations: 4.375 kB / 0.9766 GB, free: 460.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002197/2.75, allocations: 1.037 MB / 0.9776 GB, free: 460 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/2.75, allocations: 11.19 kB / 0.9777 GB, free: 460 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/2.75, allocations: 17.34 kB / 0.9777 GB, free: 460 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009639/2.751, allocations: 265.2 kB / 0.9779 GB, free: 459.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/2.752, allocations: 142.7 kB / 0.9781 GB, free: 459.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/2.754, allocations: 3.718 MB / 0.9817 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/2.755, allocations: 143 kB / 0.9818 GB, free: 456.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/2.755, allocations: 53.47 kB / 0.9819 GB, free: 456.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 26 (sourceQ.C.ftype,mixer2_2.Cs.ftype,sourceP3.C.ftype,sourceP2.C.ftype,mixer2_2.fluids[1],singularPressureLoss3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP1.fluid,singularPressureLoss6.fluid,sourceQ.fluid1,sourceP3.fluid1,sourceP2.fluid1,mixer2_2.fluid1,mixer2_2.Ce3.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss6.C2.diff_on_1,mixer2_2.Cs.diff_on_2,singularPressureLoss5.C2.diff_on_1,singularPressureLoss4.C2.diff_on_1,mixer2_2.Ce2.diff_on_2,sourceP3.C.diff_on_2,mixer2_2.Ce1.diff_on_2,sourceP2.C.diff_on_2,mixer2_2.Cs.diff_on_1,singularPressureLoss3.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000537/2.755, allocations: 258.5 kB / 0.9821 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/2.755, allocations: 72.81 kB / 0.9822 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/2.757, allocations: 0.5989 MB / 0.9828 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/2.757, allocations: 7.375 kB / 0.9828 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.757, allocations: 5.219 kB / 0.9828 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/2.757, allocations: 1.922 kB / 0.9828 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/2.759, allocations: 1.276 MB / 0.984 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/2.759, allocations: 2.812 kB / 0.984 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/2.759, allocations: 18.58 kB / 0.9841 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008382/2.76, allocations: 236 kB / 0.9843 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/2.76, allocations: 9.25 kB / 0.9843 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/2.762, allocations: 3.677 MB / 0.9879 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.762, allocations: 0.7188 kB / 0.9879 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/2.763, allocations: 0.6293 MB / 0.9885 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/2.764, allocations: 181.5 kB / 0.9887 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/2.764, allocations: 8.188 kB / 0.9887 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/2.764, allocations: 7.578 kB / 0.9887 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/2.764, allocations: 25.38 kB / 0.9887 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/2.764, allocations: 13.61 kB / 0.9887 GB, free: 452 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006026/2.765, allocations: 456.1 kB / 0.9892 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/2.765, allocations: 2.75 kB / 0.9892 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004568/2.769, allocations: 1.645 MB / 0.9908 GB, free: 451.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008421/2.778, allocations: 3.225 MB / 0.9939 GB, free: 451 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001425/2.779, allocations: 0.6178 MB / 0.9945 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.779, allocations: 2.656 kB / 0.9945 GB, free: 450.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004945/2.78, allocations: 289.9 kB / 0.9948 GB, free: 450.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/2.781, allocations: 192.2 kB / 0.995 GB, free: 450.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/2.793, allocations: 7.521 MB / 1.002 GB, free: 446.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/2.794, allocations: 0.9992 MB / 1.003 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005723/2.794, allocations: 132.4 kB / 1.003 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/2.795, allocations: 359 kB / 1.004 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.563e-06/2.795, allocations: 2.094 kB / 1.004 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.266/7.06, allocations: 60.21 MB / 1.063 GB, free: 402.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/7.061, allocations: 300.5 kB / 1.063 GB, free: 402 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.63/11.69, allocations: 0 / 1.063 GB, free: 402 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestMixer3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_Volume_TestMixer3.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe 2>&1)