Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.TestCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1",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.8793/0.8793, allocations: 150.9 MB / 166 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003767, allocations: 19.97 kB / 204.1 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2399, allocations: 31.32 MB / 235.4 MB, free: 5.414 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.TestCentrifugalPump1): time 2.022/2.262, allocations: 295.4 MB / 0.5184 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.8138/3.076, allocations: 189.3 MB / 0.7033 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008021/3.076, allocations: 15.59 kB / 0.7033 GB, free: 3.746 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121: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/CentrifugalPump.mo:122:3-123: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/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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/Sink.mo:39:3-40:67: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/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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/Machines/CentrifugalPump.mo:120:3-121: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/CentrifugalPump.mo:122:3-123: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/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40: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.0004033/3.077, allocations: 77.08 kB / 0.7034 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009529/3.078, allocations: 286.6 kB / 0.7037 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03902/3.117, allocations: 9.005 MB / 0.7125 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002389/3.119, allocations: 1.1 MB / 0.7135 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000906/3.12, allocations: 0.5482 MB / 0.7141 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/3.121, allocations: 468.8 kB / 0.7145 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/3.122, allocations: 0.5078 MB / 0.715 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/3.122, allocations: 60.44 kB / 0.7151 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04124/3.163, allocations: 16.77 MB / 0.7314 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000775/3.164, allocations: 426 kB / 0.7318 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/3.165, allocations: 0.6837 MB / 0.7325 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03564/3.201, allocations: 9.779 MB / 0.7421 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/3.201, allocations: 0 / 0.7421 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.975e-06/3.201, allocations: 4.438 kB / 0.7421 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.42e-05/3.201, allocations: 0 / 0.7421 GB, free: 1.016 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.009838/3.211, allocations: 2.972 MB / 0.745 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/3.211, allocations: 10.19 kB / 0.745 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/3.211, allocations: 148.3 kB / 0.7451 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/3.211, allocations: 212.8 kB / 0.7453 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/3.212, allocations: 0.8087 MB / 0.7461 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/3.212, allocations: 70.41 kB / 0.7462 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/3.213, allocations: 95.78 kB / 0.7463 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/3.215, allocations: 1.327 MB / 0.7476 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/3.215, allocations: 6.844 kB / 0.7476 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/3.215, allocations: 37.94 kB / 0.7476 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/3.215, allocations: 23.78 kB / 0.7476 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/3.217, allocations: 1.376 MB / 0.749 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1409/3.358, allocations: 66.48 MB / 0.8139 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/3.36, allocations: 1.626 MB / 0.8155 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/3.361, allocations: 0.5053 MB / 0.816 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2144/3.575, allocations: 110.6 MB / 0.9239 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/3.575, allocations: 37.5 kB / 0.924 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.245e-06/3.575, allocations: 0 / 0.924 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of matching and sorting (n=53): time 0.007583/3.583, allocations: 2.793 MB / 0.9267 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/3.583, allocations: 85.11 kB / 0.9268 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/3.586, allocations: 1.71 MB / 0.9285 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/3.586, allocations: 32.64 kB / 0.9285 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007252/3.587, allocations: 0.8707 MB / 0.9293 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/3.587, allocations: 190.5 kB / 0.9295 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/3.587, allocations: 155.7 kB / 0.9297 GB, free: 456 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001332/3.587, allocations: 342.6 kB / 0.93 GB, free: 120 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008657/3.588, allocations: 0.5055 MB / 0.9305 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/3.589, allocations: 0.7616 MB / 0.9312 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/3.591, allocations: 1.289 MB / 0.9325 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/3.591, allocations: 2.906 kB / 0.9325 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003417/3.594, allocations: 1.818 MB / 0.9343 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/3.594, allocations: 16.02 kB / 0.9343 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/3.595, allocations: 12 kB / 0.9343 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008314/3.603, allocations: 1.438 MB / 0.9357 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/3.603, allocations: 139.6 kB / 0.9358 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/3.606, allocations: 2.325 MB / 0.9381 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/3.607, allocations: 126.7 kB / 0.9382 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/3.607, allocations: 40.12 kB / 0.9383 GB, free: 8.086 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0008169/3.608, allocations: 410.4 kB / 0.9387 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/3.608, allocations: 181.8 kB / 0.9388 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/3.611, allocations: 1.682 MB / 0.9405 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/3.611, allocations: 4 kB / 0.9405 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/3.611, allocations: 0 / 0.9405 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/3.611, allocations: 7.984 kB / 0.9405 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/3.616, allocations: 2.946 MB / 0.9434 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/3.616, allocations: 0 / 0.9434 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/3.616, allocations: 58.88 kB / 0.9434 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005671/3.622, allocations: 1.157 MB / 0.9445 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/3.622, allocations: 16 kB / 0.9446 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/3.625, allocations: 2.35 MB / 0.9469 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/3.625, allocations: 3 kB / 0.9469 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/3.627, allocations: 1.749 MB / 0.9486 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/3.628, allocations: 270.6 kB / 0.9488 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/3.628, allocations: 12 kB / 0.9488 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/3.629, allocations: 43.75 kB / 0.9489 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/3.629, allocations: 34.86 kB / 0.9489 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/3.629, allocations: 19.98 kB / 0.9489 GB, free: 13.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001739/3.631, allocations: 1.147 MB / 0.9501 GB, free: 11.86 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.51e-07/3.631, allocations: 0 / 0.9501 GB, free: 11.86 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005118/3.636, allocations: 1.448 MB / 0.9515 GB, free: 10.41 MB / 0.795 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 (25): * Single equations (assignments): 23 * 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 {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01154/3.647, allocations: 4.187 MB / 0.9556 GB, free: 6.445 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002295/3.65, allocations: 1.224 MB / 0.9567 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.65, allocations: 1.188 kB / 0.9568 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/3.651, allocations: 0.6069 MB / 0.9573 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/3.652, allocations: 172.7 kB / 0.9575 GB, free: 4.473 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/3.678, allocations: 16.18 MB / 0.9733 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/3.68, allocations: 1.319 MB / 0.9746 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004708/3.68, allocations: 102 kB / 0.9747 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/3.681, allocations: 0.5969 MB / 0.9753 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of SimCode: time 1.923e-06/3.681, allocations: 0 / 0.9753 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/4.053, allocations: 66.95 MB / 1.041 GB, free: 420.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/4.053, allocations: 286.1 kB / 1.041 GB, free: 420.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.659/8.713, allocations: 0 / 1.041 GB, free: 420.4 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCentrifugalPump1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe 2>&1)