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.8092/0.8092, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 23.97 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 31.33 MB / 235.4 MB, free: 5.473 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.529/1.672, allocations: 292.8 MB / 0.5158 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1969/1.869, allocations: 188.4 MB / 0.6997 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/1.869, allocations: 11.88 kB / 0.6997 GB, free: 0.9844 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.0001342/1.869, allocations: 39.77 kB / 0.6998 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/1.869, allocations: 103.2 kB / 0.6999 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3288/2.198, allocations: 8.648 MB / 0.7083 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005335/2.199, allocations: 415.1 kB / 0.7087 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/2.199, allocations: 206.7 kB / 0.7089 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/2.199, allocations: 157.8 kB / 0.7091 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/2.2, allocations: 183.6 kB / 0.7092 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/2.2, allocations: 25.38 kB / 0.7093 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03246/2.232, allocations: 19.83 MB / 0.7286 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/2.232, allocations: 67.94 kB / 0.7287 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/2.233, allocations: 188.5 kB / 0.7289 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02488/2.257, allocations: 9.84 MB / 0.7385 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/2.257, allocations: 2.406 kB / 0.7385 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/2.258, allocations: 1.203 kB / 0.7385 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.144e-06/2.258, allocations: 0 / 0.7385 GB, free: 1.621 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.004859/2.262, allocations: 1.784 MB / 0.7402 GB, free: 484 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/2.262, allocations: 9.312 kB / 0.7402 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/2.263, allocations: 47.25 kB / 0.7403 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/2.263, allocations: 300.9 kB / 0.7406 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/2.263, allocations: 27.44 kB / 0.7406 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/2.263, allocations: 38.03 kB / 0.7406 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/2.263, allocations: 381.4 kB / 0.741 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.264, allocations: 1.203 kB / 0.741 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/2.264, allocations: 27.02 kB / 0.741 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/2.264, allocations: 9.5 kB / 0.741 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/2.264, allocations: 251.2 kB / 0.7413 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008544/2.273, allocations: 6.162 MB / 0.7473 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/2.275, allocations: 308.1 kB / 0.7476 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/2.275, allocations: 52.75 kB / 0.7476 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1521/2.427, allocations: 82.03 MB / 0.8277 GB, free: 8.844 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/2.427, allocations: 30.56 kB / 0.8278 GB, free: 8.805 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/2.427, allocations: 4 kB / 0.8278 GB, free: 8.801 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.005445/2.432, allocations: 0.9095 MB / 0.8287 GB, free: 7.941 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/2.432, allocations: 55.41 kB / 0.8287 GB, free: 7.875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/2.433, allocations: 309.8 kB / 0.829 GB, free: 7.629 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/2.433, allocations: 29.27 kB / 0.829 GB, free: 7.598 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/2.433, allocations: 234.6 kB / 0.8293 GB, free: 7.406 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/2.433, allocations: 50.3 kB / 0.8293 GB, free: 7.363 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/2.433, allocations: 62.56 kB / 0.8294 GB, free: 7.316 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001398/2.433, allocations: 341.5 kB / 0.8297 GB, free: 6.984 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/2.433, allocations: 68.89 kB / 0.8298 GB, free: 6.938 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/2.434, allocations: 168.7 kB / 0.8299 GB, free: 6.758 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/2.434, allocations: 242.9 kB / 0.8302 GB, free: 6.543 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/2.434, allocations: 0 / 0.8302 GB, free: 6.543 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002431/2.436, allocations: 0.5694 MB / 0.8307 GB, free: 6.078 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/2.437, allocations: 9.203 kB / 0.8307 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.437, allocations: 4 kB / 0.8307 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007812/2.437, allocations: 152.9 kB / 0.8309 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/2.437, allocations: 42.88 kB / 0.8309 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007719/2.438, allocations: 0.6973 MB / 0.8316 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/2.439, allocations: 42.77 kB / 0.8316 GB, free: 5.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/2.439, allocations: 8 kB / 0.8316 GB, free: 5.199 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.0001649/2.439, allocations: 155.4 kB / 0.8318 GB, free: 5.062 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/2.439, allocations: 27.7 kB / 0.8318 GB, free: 5.035 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/2.441, allocations: 479.7 kB / 0.8323 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/2.441, allocations: 0 / 0.8323 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/2.441, allocations: 0 / 0.8323 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/2.441, allocations: 0 / 0.8323 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/2.441, allocations: 341 kB / 0.8326 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/2.441, allocations: 6.906 kB / 0.8326 GB, free: 4.297 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/2.442, allocations: 8.078 kB / 0.8326 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/2.442, allocations: 149.9 kB / 0.8328 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/2.442, allocations: 7.609 kB / 0.8328 GB, free: 4.152 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006953/2.443, allocations: 0.6882 MB / 0.8334 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.443, allocations: 0 / 0.8334 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/2.445, allocations: 469.5 kB / 0.8339 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/2.445, allocations: 115.7 kB / 0.834 GB, free: 2.957 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/2.445, allocations: 4 kB / 0.834 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/2.445, allocations: 8.812 kB / 0.834 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/2.445, allocations: 4 kB / 0.834 GB, free: 2.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/2.446, allocations: 7.984 kB / 0.834 GB, free: 2.938 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002306/2.446, allocations: 224.8 kB / 0.8342 GB, free: 2.762 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/2.446, allocations: 0 / 0.8342 GB, free: 2.762 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004747/2.451, allocations: 1.429 MB / 0.8356 GB, free: 1.434 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.007375/2.458, allocations: 2.258 MB / 0.8378 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007276/2.459, allocations: 185 kB / 0.838 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/2.459, allocations: 0.875 kB / 0.838 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/2.459, allocations: 86.27 kB / 0.8381 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/2.459, allocations: 72.12 kB / 0.8382 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/2.461, allocations: 0.6419 MB / 0.8388 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/2.461, allocations: 0.7794 MB / 0.8396 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000126/2.461, allocations: 40.3 kB / 0.8396 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/2.461, allocations: 23.44 kB / 0.8396 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of SimCode: time 2.2e-07/2.461, allocations: 0 / 0.8396 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of Templates: time 0.05782/2.519, allocations: 46.14 MB / 0.8847 GB, free: 15.75 MB / 0.7325 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)