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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7986/0.7986, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002363/0.0002365, allocations: 15.98 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 31.33 MB / 236 MB, free: 3.883 MB / 186.7 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.615/1.761, allocations: 292.1 MB / 0.5158 GB, free: 9.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4763/2.237, allocations: 188.4 MB / 0.6997 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/2.238, allocations: 5.75 kB / 0.6997 GB, free: 1.973 MB / 0.5573 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.0001222/2.238, allocations: 38.8 kB / 0.6997 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/2.238, allocations: 109.1 kB / 0.6998 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02537/2.263, allocations: 8.654 MB / 0.7083 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000715/2.264, allocations: 415.2 kB / 0.7087 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/2.265, allocations: 210.6 kB / 0.7089 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/2.265, allocations: 159 kB / 0.709 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/2.265, allocations: 179.8 kB / 0.7092 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/2.265, allocations: 27.19 kB / 0.7092 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03779/2.303, allocations: 19.83 MB / 0.7286 GB, free: 14.97 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/2.303, allocations: 70.78 kB / 0.7287 GB, free: 14.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003338/2.303, allocations: 189 kB / 0.7289 GB, free: 14.95 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02435/2.328, allocations: 9.847 MB / 0.7385 GB, free: 11.33 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/2.328, allocations: 0 / 0.7385 GB, free: 11.33 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.512e-06/2.328, allocations: 1.203 kB / 0.7385 GB, free: 11.33 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.354e-05/2.328, allocations: 0 / 0.7385 GB, free: 11.33 MB / 0.573 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.004778/2.333, allocations: 1.773 MB / 0.7402 GB, free: 10.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/2.333, allocations: 9.562 kB / 0.7402 GB, free: 10.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/2.333, allocations: 46.92 kB / 0.7403 GB, free: 10.16 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/2.333, allocations: 303.6 kB / 0.7405 GB, free: 9.898 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/2.333, allocations: 29.28 kB / 0.7406 GB, free: 9.898 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/2.333, allocations: 38.88 kB / 0.7406 GB, free: 9.898 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/2.334, allocations: 383.4 kB / 0.741 GB, free: 9.75 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/2.334, allocations: 0 / 0.741 GB, free: 9.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/2.334, allocations: 15.59 kB / 0.741 GB, free: 9.75 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/2.334, allocations: 11.27 kB / 0.741 GB, free: 9.75 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/2.335, allocations: 257 kB / 0.7412 GB, free: 9.711 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008864/2.343, allocations: 6.164 MB / 0.7473 GB, free: 4.461 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/2.345, allocations: 305.3 kB / 0.7476 GB, free: 4.363 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/2.345, allocations: 63.61 kB / 0.7476 GB, free: 4.348 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2193/2.565, allocations: 82.02 MB / 0.8277 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/2.565, allocations: 34.56 kB / 0.8278 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/2.565, allocations: 0 / 0.8278 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.005234/2.57, allocations: 0.908 MB / 0.8286 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/2.57, allocations: 51.41 kB / 0.8287 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/2.57, allocations: 322.6 kB / 0.829 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/2.57, allocations: 28.83 kB / 0.829 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/2.571, allocations: 224.6 kB / 0.8292 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/2.571, allocations: 52.67 kB / 0.8293 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/2.571, allocations: 70.2 kB / 0.8294 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001316/2.571, allocations: 337 kB / 0.8297 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/2.571, allocations: 64.45 kB / 0.8297 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/2.571, allocations: 167.8 kB / 0.8299 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/2.572, allocations: 244.9 kB / 0.8301 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.572, allocations: 0 / 0.8301 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00233/2.574, allocations: 0.5647 MB / 0.8307 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/2.574, allocations: 4 kB / 0.8307 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/2.574, allocations: 7.938 kB / 0.8307 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/2.575, allocations: 162.4 kB / 0.8308 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/2.575, allocations: 41.05 kB / 0.8309 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007351/2.576, allocations: 0.6914 MB / 0.8316 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/2.576, allocations: 39.22 kB / 0.8316 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/2.576, allocations: 19.31 kB / 0.8316 GB, free: 9.785 MB / 0.6667 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.000173/2.576, allocations: 146.1 kB / 0.8318 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/2.576, allocations: 27.62 kB / 0.8318 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/2.579, allocations: 480.3 kB / 0.8322 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/2.579, allocations: 4 kB / 0.8322 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/2.579, allocations: 7.984 kB / 0.8323 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/2.579, allocations: 0 / 0.8323 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/2.579, allocations: 333.9 kB / 0.8326 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/2.579, allocations: 0 / 0.8326 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/2.579, allocations: 8 kB / 0.8326 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/2.58, allocations: 155.8 kB / 0.8327 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/2.58, allocations: 5.625 kB / 0.8327 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007275/2.581, allocations: 0.6797 MB / 0.8334 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.581, allocations: 2.531 kB / 0.8334 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/2.583, allocations: 1.18 MB / 0.8346 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/2.584, allocations: 121.1 kB / 0.8347 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/2.584, allocations: 3.938 kB / 0.8347 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/2.584, allocations: 12.52 kB / 0.8347 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/2.584, allocations: 7.984 kB / 0.8347 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/2.584, allocations: 6.531 kB / 0.8347 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002415/2.584, allocations: 224.3 kB / 0.8349 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/2.584, allocations: 4 kB / 0.8349 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004168/2.588, allocations: 1.48 MB / 0.8364 GB, free: 5.383 MB / 0.6667 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.007009/2.595, allocations: 2.255 MB / 0.8386 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007224/2.596, allocations: 195.7 kB / 0.8388 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/2.596, allocations: 0 / 0.8388 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/2.596, allocations: 90.78 kB / 0.8388 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/2.597, allocations: 67.83 kB / 0.8389 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/2.598, allocations: 0.783 MB / 0.8397 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/2.598, allocations: 0.7806 MB / 0.8404 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001315/2.598, allocations: 42.89 kB / 0.8405 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/2.598, allocations: 21.97 kB / 0.8405 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of SimCode: time 3e-07/2.598, allocations: 0 / 0.8405 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of Templates: time 0.05707/2.656, allocations: 46.28 MB / 0.8857 GB, free: 3.285 MB / 0.7136 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)