Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.Volume.TestMixer3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestMixer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.7762/0.7762, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.291e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 31.99 MB / 236.8 MB, free: 5.41 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.Examples.Book.SimpleExamples.Volume.TestMixer3): time 1.495/1.633, allocations: 296.1 MB / 0.5204 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04153/1.675, allocations: 37.38 MB / 0.5569 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/1.675, allocations: 8 kB / 0.5569 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/1.675, allocations: 131.2 kB / 0.5571 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/1.676, allocations: 206.3 kB / 0.5572 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01887/1.694, allocations: 7.4 MB / 0.5645 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009361/1.695, allocations: 0.8125 MB / 0.5653 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/1.696, allocations: 298.9 kB / 0.5656 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/1.696, allocations: 270.7 kB / 0.5658 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/1.696, allocations: 262.5 kB / 0.5661 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/1.696, allocations: 24 kB / 0.5661 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02728/1.724, allocations: 17.81 MB / 0.5835 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/1.724, allocations: 87.52 kB / 0.5836 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/1.724, allocations: 347.9 kB / 0.5839 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/1.741, allocations: 8.794 MB / 0.5925 GB, free: 2.086 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.741, allocations: 4 kB / 0.5925 GB, free: 2.082 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.741, allocations: 0 / 0.5925 GB, free: 2.082 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/1.741, allocations: 0 / 0.5925 GB, free: 2.082 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003796/1.744, allocations: 1.692 MB / 0.5941 GB, free: 344 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.744, allocations: 12.03 kB / 0.5941 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/1.745, allocations: 127.2 kB / 0.5943 GB, free: 196 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.376e-05/1.745, allocations: 83 kB / 0.5944 GB, free: 112 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/1.745, allocations: 347.6 kB / 0.5947 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/1.745, allocations: 49.25 kB / 0.5947 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/1.745, allocations: 64 kB / 0.5948 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/1.746, allocations: 0.767 MB / 0.5955 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.746, allocations: 0 / 0.5955 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/1.746, allocations: 32 kB / 0.5956 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/1.746, allocations: 31.92 kB / 0.5956 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/1.747, allocations: 460.6 kB / 0.596 GB, free: 14.27 MB / 494.1 MB 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.02075/1.768, allocations: 13.09 MB / 0.6088 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/1.768, allocations: 315.4 kB / 0.6091 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/1.768, allocations: 210.3 kB / 0.6093 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1486/1.917, allocations: 77.94 MB / 0.6854 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.917, allocations: 38.5 kB / 0.6855 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.405e-06/1.917, allocations: 0 / 0.6855 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002905/1.92, allocations: 1.369 MB / 0.6868 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/1.92, allocations: 59.34 kB / 0.6869 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/1.921, allocations: 389.4 kB / 0.6872 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.921, allocations: 25.7 kB / 0.6873 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/1.921, allocations: 292.2 kB / 0.6875 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/1.921, allocations: 268 kB / 0.6878 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/1.921, allocations: 65.67 kB / 0.6879 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.921, allocations: 362.8 kB / 0.6882 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/1.921, allocations: 153.3 kB / 0.6884 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/1.922, allocations: 294.1 kB / 0.6886 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/1.922, allocations: 0.4942 MB / 0.6891 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.922, allocations: 0 / 0.6891 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001268/1.924, allocations: 0.7481 MB / 0.6898 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.924, allocations: 4 kB / 0.6899 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.924, allocations: 7.938 kB / 0.6899 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.925, allocations: 0.4978 MB / 0.6903 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/1.925, allocations: 19.94 kB / 0.6904 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1526/2.077, allocations: 3.979 MB / 0.6942 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/2.078, allocations: 68.3 kB / 0.6943 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/2.078, allocations: 22.8 kB / 0.6943 GB, free: 225.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 (singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceQ.C.b,sinkP1.C.a,sourceP3.C.b,sourceP2.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_2.Ce3.a,mixer2_2.Ce1.a,mixer2_2.Cs.b,mixer2_2.Ce2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002484/2.078, allocations: 188.2 kB / 0.6945 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/2.078, allocations: 50.75 kB / 0.6946 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/2.08, allocations: 1.668 MB / 0.6962 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00119/2.081, allocations: 0.8808 MB / 0.6971 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/2.081, allocations: 1.75 kB / 0.6971 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/2.081, allocations: 4.594 kB / 0.6971 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/2.084, allocations: 2.257 MB / 0.6993 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.084, allocations: 2.406 kB / 0.6993 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/2.084, allocations: 88.8 kB / 0.6993 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/2.085, allocations: 0.5316 MB / 0.6999 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/2.085, allocations: 13.64 kB / 0.6999 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/2.088, allocations: 4.037 MB / 0.7038 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.088, allocations: 2.781 kB / 0.7038 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/2.089, allocations: 1.069 MB / 0.7049 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/2.089, allocations: 200.1 kB / 0.7051 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/2.089, allocations: 19.53 kB / 0.7051 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/2.09, allocations: 27.86 kB / 0.7051 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/2.09, allocations: 49.75 kB / 0.7052 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/2.09, allocations: 23.31 kB / 0.7052 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002622/2.09, allocations: 301.8 kB / 0.7055 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/2.09, allocations: 0 / 0.7055 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002898/2.093, allocations: 1.319 MB / 0.7068 GB, free: 220.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (60): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005972/2.099, allocations: 3.293 MB / 0.71 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001374/2.1, allocations: 0.981 MB / 0.7109 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/2.1, allocations: 1.594 kB / 0.7109 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008574/2.101, allocations: 0.5542 MB / 0.7115 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/2.103, allocations: 296.4 kB / 0.7118 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/2.109, allocations: 6.074 MB / 0.7177 GB, free: 216.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/2.11, allocations: 0.9838 MB / 0.7186 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002326/2.11, allocations: 61.2 kB / 0.7187 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/2.11, allocations: 303.3 kB / 0.719 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/2.11, allocations: 1.906 kB / 0.719 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/2.195, allocations: 58.33 MB / 0.776 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/2.195, allocations: 249.2 kB / 0.7762 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/6.446, allocations: 0 / 0.7762 GB, free: 171.4 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestMixer3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestMixer3.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe 2>&1)