Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1",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.7934/0.7934, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 19.98 kB / 204.1 MB, free: 9.992 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 31.33 MB / 235.4 MB, free: 5.43 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.431/1.561, allocations: 293.8 MB / 0.5168 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1849/1.746, allocations: 188.4 MB / 0.7008 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/1.746, allocations: 4 kB / 0.7008 GB, free: 0.7773 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000117/1.746, allocations: 31.72 kB / 0.7008 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/1.746, allocations: 103.2 kB / 0.7009 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2595/2.006, allocations: 8.643 MB / 0.7093 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/2.006, allocations: 415.3 kB / 0.7097 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/2.007, allocations: 209.3 kB / 0.7099 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/2.007, allocations: 156.2 kB / 0.7101 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/2.007, allocations: 183.5 kB / 0.7103 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/2.007, allocations: 25.97 kB / 0.7103 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02583/2.033, allocations: 19.82 MB / 0.7297 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/2.033, allocations: 73.55 kB / 0.7297 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/2.033, allocations: 184.6 kB / 0.7299 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/2.051, allocations: 9.839 MB / 0.7395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.051, allocations: 0 / 0.7395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.92e-07/2.051, allocations: 2.906 kB / 0.7395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/2.051, allocations: 0 / 0.7395 GB, free: 1.305 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00328/2.054, allocations: 1.789 MB / 0.7413 GB, free: 160 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/2.054, allocations: 8.5 kB / 0.7413 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/2.054, allocations: 74.28 kB / 0.7413 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/2.055, allocations: 43.19 kB / 0.7414 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/2.055, allocations: 305.4 kB / 0.7417 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/2.055, allocations: 28.16 kB / 0.7417 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/2.055, allocations: 36.16 kB / 0.7417 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/2.055, allocations: 386.2 kB / 0.7421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/2.055, allocations: 3.375 kB / 0.7421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/2.056, allocations: 17.84 kB / 0.7421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/2.056, allocations: 7.969 kB / 0.7421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/2.056, allocations: 258 kB / 0.7424 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/2.063, allocations: 6.157 MB / 0.7484 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/2.064, allocations: 311.1 kB / 0.7487 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/2.065, allocations: 58.47 kB / 0.7487 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.135/2.2, allocations: 82.03 MB / 0.8288 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/2.2, allocations: 38.39 kB / 0.8289 GB, free: 8.391 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/2.2, allocations: 2.906 kB / 0.8289 GB, free: 8.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005142/2.205, allocations: 0.9034 MB / 0.8298 GB, free: 7.535 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/2.205, allocations: 59.39 kB / 0.8298 GB, free: 7.465 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/2.205, allocations: 315.8 kB / 0.8301 GB, free: 7.211 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/2.205, allocations: 28.95 kB / 0.8301 GB, free: 7.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/2.205, allocations: 236.2 kB / 0.8304 GB, free: 6.988 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/2.205, allocations: 54.52 kB / 0.8304 GB, free: 6.945 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/2.205, allocations: 62.69 kB / 0.8305 GB, free: 6.898 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001034/2.206, allocations: 333.3 kB / 0.8308 GB, free: 6.574 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/2.206, allocations: 64.84 kB / 0.8309 GB, free: 6.531 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/2.206, allocations: 162.5 kB / 0.831 GB, free: 6.355 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/2.206, allocations: 246.8 kB / 0.8313 GB, free: 6.141 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.206, allocations: 4 kB / 0.8313 GB, free: 6.137 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002407/2.209, allocations: 0.564 MB / 0.8318 GB, free: 5.672 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/2.209, allocations: 8 kB / 0.8318 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/2.209, allocations: 4 kB / 0.8318 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007042/2.209, allocations: 161.9 kB / 0.832 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/2.21, allocations: 38.88 kB / 0.832 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006576/2.21, allocations: 0.6895 MB / 0.8327 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/2.21, allocations: 42.94 kB / 0.8327 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/2.21, allocations: 16 kB / 0.8327 GB, free: 4.789 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,StaticCentrifugalPump1.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,StaticCentrifugalPump1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001321/2.211, allocations: 151.4 kB / 0.8329 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/2.211, allocations: 27.7 kB / 0.8329 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/2.213, allocations: 475 kB / 0.8334 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/2.213, allocations: 0 / 0.8334 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/2.213, allocations: 4 kB / 0.8334 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/2.213, allocations: 0 / 0.8334 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/2.213, allocations: 340 kB / 0.8337 GB, free: 3.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/2.213, allocations: 1.203 kB / 0.8337 GB, free: 3.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/2.213, allocations: 11.83 kB / 0.8337 GB, free: 3.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/2.214, allocations: 156.4 kB / 0.8339 GB, free: 3.754 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/2.214, allocations: 11.17 kB / 0.8339 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006065/2.215, allocations: 0.6793 MB / 0.8345 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.215, allocations: 0 / 0.8345 GB, free: 3.102 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/2.217, allocations: 470 kB / 0.835 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/2.217, allocations: 115.6 kB / 0.8351 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/2.217, allocations: 4 kB / 0.8351 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/2.217, allocations: 3.984 kB / 0.8351 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/2.217, allocations: 10.09 kB / 0.8351 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/2.217, allocations: 7.984 kB / 0.8351 GB, free: 2.535 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002039/2.217, allocations: 222.7 kB / 0.8353 GB, free: 2.363 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/2.217, allocations: 0 / 0.8353 GB, free: 2.363 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002838/2.22, allocations: 1.429 MB / 0.8367 GB, free: 1.035 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006523/2.227, allocations: 2.939 MB / 0.8396 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005308/2.227, allocations: 197.9 kB / 0.8398 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/2.227, allocations: 4.062 kB / 0.8398 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/2.228, allocations: 74.34 kB / 0.8399 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/2.228, allocations: 67.91 kB / 0.8399 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008945/2.237, allocations: 3.928 MB / 0.8438 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/2.237, allocations: 0.7755 MB / 0.8445 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001439/2.237, allocations: 40.28 kB / 0.8446 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/2.237, allocations: 112.7 kB / 0.8447 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/2.237, allocations: 0 / 0.8447 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.865/4.102, allocations: 51.81 MB / 0.8953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/4.102, allocations: 299 kB / 0.8955 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/8.674, allocations: 0 / 0.8955 GB, free: 5.738 MB / 0.7325 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)