Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.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.SimpleExamples.TestStaticCentrifugalPump2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump2",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.7969/0.7969, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.843e-05/1.844e-05, allocations: 4 kB / 204.9 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 31.99 MB / 236.8 MB, free: 5.387 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.SimpleExamples.TestStaticCentrifugalPump2): time 1.495/1.635, allocations: 295.5 MB / 0.5198 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03617/1.671, allocations: 33.57 MB / 0.5526 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/1.671, allocations: 4 kB / 0.5526 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/1.672, allocations: 99.45 kB / 0.5527 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/1.672, allocations: 158.8 kB / 0.5529 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01622/1.688, allocations: 6.62 MB / 0.5593 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007274/1.689, allocations: 0.6935 MB / 0.56 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/1.689, allocations: 253.2 kB / 0.5602 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/1.69, allocations: 250.9 kB / 0.5605 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/1.69, allocations: 282.7 kB / 0.5607 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/1.69, allocations: 24 kB / 0.5608 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02234/1.712, allocations: 14.97 MB / 0.5754 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/1.712, allocations: 103.5 kB / 0.5755 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/1.713, allocations: 280.3 kB / 0.5758 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/1.725, allocations: 7.75 MB / 0.5833 GB, free: 11.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/1.725, allocations: 4 kB / 0.5833 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/1.725, allocations: 0 / 0.5833 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/1.726, allocations: 0 / 0.5833 GB, free: 11.4 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005155/1.731, allocations: 1.743 MB / 0.585 GB, free: 9.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.731, allocations: 16.03 kB / 0.585 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/1.731, allocations: 86.52 kB / 0.5851 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.731, allocations: 63.19 kB / 0.5852 GB, free: 9.438 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/1.731, allocations: 333.7 kB / 0.5855 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/1.731, allocations: 62.7 kB / 0.5856 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/1.732, allocations: 40 kB / 0.5856 GB, free: 8.969 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.733, allocations: 0.6843 MB / 0.5863 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.733, allocations: 0 / 0.5863 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/1.733, allocations: 23.94 kB / 0.5863 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.733, allocations: 16 kB / 0.5863 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/1.735, allocations: 0.6859 MB / 0.587 GB, free: 7.52 MB / 478.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.003027/1.738, allocations: 3.145 MB / 0.5901 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/1.74, allocations: 0.598 MB / 0.5906 GB, free: 3.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009107/1.741, allocations: 351 kB / 0.591 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08022/1.821, allocations: 44.48 MB / 0.6344 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/1.822, allocations: 402.5 kB / 0.6348 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 3.507e-06/1.822, allocations: 0 / 0.6348 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01179/1.834, allocations: 2.828 MB / 0.6376 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/1.834, allocations: 59.41 kB / 0.6376 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/1.834, allocations: 333.6 kB / 0.6379 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/1.835, allocations: 29.7 kB / 0.638 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.835, allocations: 232.8 kB / 0.6382 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.835, allocations: 236.5 kB / 0.6384 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/1.835, allocations: 61.67 kB / 0.6385 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.835, allocations: 354.8 kB / 0.6388 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009019/1.836, allocations: 301.4 kB / 0.6391 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/1.837, allocations: 457.2 kB / 0.6395 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007373/1.844, allocations: 1.955 MB / 0.6414 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.844, allocations: 4 kB / 0.6414 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004359/1.849, allocations: 1.314 MB / 0.6427 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.849, allocations: 11.88 kB / 0.6427 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.849, allocations: 8 kB / 0.6427 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/1.852, allocations: 0.8762 MB / 0.6436 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/1.853, allocations: 175.8 kB / 0.6438 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/1.855, allocations: 1.605 MB / 0.6453 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/1.855, allocations: 115.3 kB / 0.6454 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/1.855, allocations: 27.98 kB / 0.6455 GB, free: 5.453 MB / 0.5294 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: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {(7,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002829/1.856, allocations: 189.6 kB / 0.6457 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/1.856, allocations: 43.44 kB / 0.6457 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/1.86, allocations: 1.653 MB / 0.6473 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002517/1.863, allocations: 1.108 MB / 0.6484 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.863, allocations: 0 / 0.6484 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.863, allocations: 11.92 kB / 0.6484 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/1.867, allocations: 2.252 MB / 0.6506 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.867, allocations: 3.984 kB / 0.6506 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009034/1.868, allocations: 195.8 kB / 0.6508 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/1.87, allocations: 0.7396 MB / 0.6515 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/1.87, allocations: 23.98 kB / 0.6515 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.872, allocations: 1.668 MB / 0.6532 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.872, allocations: 7.938 kB / 0.6532 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/1.875, allocations: 1.725 MB / 0.6549 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/1.876, allocations: 188.1 kB / 0.655 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/1.876, allocations: 12 kB / 0.655 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/1.876, allocations: 87.88 kB / 0.6551 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.876, allocations: 60.5 kB / 0.6552 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/1.876, allocations: 16 kB / 0.6552 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002067/1.877, allocations: 227.2 kB / 0.6554 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.877, allocations: 4 kB / 0.6554 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002721/1.879, allocations: 1.155 MB / 0.6566 GB, free: 9.895 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (52): * Single equations (assignments): 49 * 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 {(7,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008471/1.888, allocations: 3.789 MB / 0.6603 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002665/1.891, allocations: 1.041 MB / 0.6613 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.891, allocations: 4 kB / 0.6613 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/1.892, allocations: 0.5621 MB / 0.6618 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.893, allocations: 183.4 kB / 0.662 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.906, allocations: 6.603 MB / 0.6684 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/1.906, allocations: 0.9035 MB / 0.6693 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000285/1.906, allocations: 56.19 kB / 0.6694 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/1.907, allocations: 231.3 kB / 0.6696 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/1.907, allocations: 0 / 0.6696 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2299/2.137, allocations: 52.33 MB / 0.7207 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/2.137, allocations: 248.8 kB / 0.7209 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.057/6.194, allocations: 2.188 kB / 0.7209 GB, free: 199.6 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCentrifugalPump2.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.pipe 2>&1)