Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.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.CentrifugalPump.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump",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.7521/0.7521, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.246e-05/1.247e-05, allocations: 0 / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1368, allocations: 31.98 MB / 236.8 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.CentrifugalPump.TestStaticCentrifugalPump): time 1.411/1.548, allocations: 295.9 MB / 0.5202 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/1.716, allocations: 182.7 MB / 0.6987 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/1.716, allocations: 7.938 kB / 0.6987 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/1.717, allocations: 71.47 kB / 0.6988 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/1.717, allocations: 202.4 kB / 0.699 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2609/1.978, allocations: 8.307 MB / 0.7071 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001051/1.979, allocations: 0.9845 MB / 0.708 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/1.979, allocations: 431.1 kB / 0.7084 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/1.98, allocations: 344.8 kB / 0.7088 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/1.98, allocations: 415.1 kB / 0.7092 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/1.98, allocations: 46.19 kB / 0.7092 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02273/2.003, allocations: 16.91 MB / 0.7257 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/2.003, allocations: 158.4 kB / 0.7259 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/2.004, allocations: 412.8 kB / 0.7263 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/2.02, allocations: 9.078 MB / 0.7351 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/2.02, allocations: 0 / 0.7351 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/2.02, allocations: 0 / 0.7351 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.09e-05/2.02, allocations: 0.5312 kB / 0.7351 GB, free: 5.957 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006032/2.026, allocations: 2.127 MB / 0.7372 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/2.026, allocations: 8.625 kB / 0.7372 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/2.027, allocations: 118.1 kB / 0.7373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/2.027, allocations: 93 kB / 0.7374 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/2.027, allocations: 455.8 kB / 0.7378 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.872e-05/2.027, allocations: 89.64 kB / 0.7379 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/2.028, allocations: 81.64 kB / 0.738 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/2.029, allocations: 1.061 MB / 0.739 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/2.029, allocations: 2.906 kB / 0.7391 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/2.029, allocations: 33.66 kB / 0.7391 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/2.029, allocations: 20.03 kB / 0.7391 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/2.031, allocations: 0.9826 MB / 0.7401 GB, free: 3.574 MB / 0.5762 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.003711/2.035, allocations: 5.351 MB / 0.7453 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/2.037, allocations: 0.831 MB / 0.7461 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/2.038, allocations: 314.2 kB / 0.7464 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3706/2.409, allocations: 182 MB / 0.9241 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/2.41, allocations: 414.1 kB / 0.9245 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/2.41, allocations: 0 / 0.9245 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.008831/2.419, allocations: 2.271 MB / 0.9268 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/2.419, allocations: 164.9 kB / 0.9269 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/2.419, allocations: 0.5243 MB / 0.9274 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/2.419, allocations: 33.08 kB / 0.9275 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/2.42, allocations: 426.4 kB / 0.9279 GB, free: 400 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/2.42, allocations: 150.4 kB / 0.928 GB, free: 272 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/2.42, allocations: 86.08 kB / 0.9281 GB, free: 212 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001483/2.42, allocations: 372.5 kB / 0.9285 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/2.421, allocations: 312.2 kB / 0.9287 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/2.422, allocations: 0.6932 MB / 0.9294 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007383/2.429, allocations: 2.267 MB / 0.9316 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/2.429, allocations: 9.031 kB / 0.9316 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003743/2.433, allocations: 1.369 MB / 0.933 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/2.433, allocations: 12.09 kB / 0.933 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/2.433, allocations: 23.92 kB / 0.933 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/2.436, allocations: 0.5909 MB / 0.9336 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/2.437, allocations: 253.7 kB / 0.9338 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/2.438, allocations: 1.411 MB / 0.9352 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/2.439, allocations: 157.9 kB / 0.9354 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/2.439, allocations: 47.36 kB / 0.9354 GB, free: 9.328 MB / 0.7794 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,Bache1.Cs2.ftype,Bache1.Cs1.ftype,Bache1.Ce1.ftype,Bache1.fluids[1],$PRE.pulse.T0,StaticCentrifugalPump1.fluid,VanneReglante1.fluid,pulse.T0,Bache1.fluid1,Bache1.Ce2.diff_on_2,VanneReglante1.C2.diff_on_2,Bache1.Cs2.diff_on_2,Bache1.Cs2.diff_on_1,VanneReglante1.C2.diff_on_1,StaticCentrifugalPump1.C2.diff_on_1,Bache1.Cs1.diff_on_1,Bache1.Ce1.diff_on_2,Bache1.Cs1.diff_on_2,Bache1.Ce1.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,15), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003456/2.439, allocations: 241.1 kB / 0.9356 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/2.439, allocations: 63.09 kB / 0.9357 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/2.442, allocations: 0.928 MB / 0.9366 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/2.442, allocations: 7.938 kB / 0.9366 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.442, allocations: 4 kB / 0.9366 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/2.442, allocations: 3.984 kB / 0.9366 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008847/2.443, allocations: 0.8466 MB / 0.9375 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.443, allocations: 4 kB / 0.9375 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/2.444, allocations: 154.8 kB / 0.9376 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/2.445, allocations: 397 kB / 0.938 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/2.445, allocations: 15.36 kB / 0.938 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/2.447, allocations: 1.393 MB / 0.9394 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.447, allocations: 0 / 0.9394 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/2.451, allocations: 1.386 MB / 0.9407 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/2.451, allocations: 192.1 kB / 0.9409 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/2.451, allocations: 10.25 kB / 0.9409 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/2.451, allocations: 67.19 kB / 0.941 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/2.452, allocations: 46.94 kB / 0.941 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/2.452, allocations: 15.11 kB / 0.941 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003596/2.452, allocations: 332.4 kB / 0.9413 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/2.452, allocations: 0 / 0.9413 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003821/2.456, allocations: 1.375 MB / 0.9427 GB, free: 2.805 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,17), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01042/2.466, allocations: 3.722 MB / 0.9463 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002302/2.469, allocations: 0.8413 MB / 0.9471 GB, free: 14.94 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.469, allocations: 4 kB / 0.9471 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/2.47, allocations: 414.1 kB / 0.9475 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/2.47, allocations: 100.9 kB / 0.9476 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/2.484, allocations: 7.413 MB / 0.9549 GB, free: 7.621 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/2.484, allocations: 0.907 MB / 0.9558 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003486/2.485, allocations: 85.64 kB / 0.9558 GB, free: 6.609 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/2.485, allocations: 251.9 kB / 0.9561 GB, free: 6.547 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/2.485, allocations: 0 / 0.9561 GB, free: 6.547 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.4/7.885, allocations: 53.25 MB / 1.008 GB, free: 438.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/7.886, allocations: 325 kB / 1.008 GB, free: 438 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.422/13.31, allocations: 0 / 1.008 GB, free: 438 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1)