Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8913/0.8913, allocations: 150.8 MB / 166.6 MB, free: 11.18 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 19.97 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.199, allocations: 31.33 MB / 236 MB, free: 3.867 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.TestBend): time 1.767/1.966, allocations: 292.2 MB / 0.5158 GB, free: 9.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.612/2.578, allocations: 191.5 MB / 0.7028 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/2.578, allocations: 8.438 kB / 0.7029 GB, free: 2.703 MB / 0.5573 GB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/Bend.mo:57:3-58: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/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 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.0003585/2.579, allocations: 185.9 kB / 0.703 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004219/2.579, allocations: 261.9 kB / 0.7033 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03489/2.614, allocations: 9.463 MB / 0.7125 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001093/2.615, allocations: 0.5179 MB / 0.713 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/2.615, allocations: 254.7 kB / 0.7133 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/2.616, allocations: 232.2 kB / 0.7135 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/2.616, allocations: 345.8 kB / 0.7138 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/2.616, allocations: 28.88 kB / 0.7138 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04673/2.663, allocations: 21.1 MB / 0.7345 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000359/2.664, allocations: 194.8 kB / 0.7346 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004312/2.664, allocations: 304.6 kB / 0.7349 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0369/2.701, allocations: 10.88 MB / 0.7456 GB, free: 11.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/2.701, allocations: 0 / 0.7456 GB, free: 11.98 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.745e-06/2.701, allocations: 0.9375 kB / 0.7456 GB, free: 11.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.177e-05/2.701, allocations: 4 kB / 0.7456 GB, free: 11.97 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.007401/2.708, allocations: 2.229 MB / 0.7477 GB, free: 10.55 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/2.708, allocations: 12.91 kB / 0.7478 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/2.709, allocations: 82.98 kB / 0.7478 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008038/2.709, allocations: 0.5361 MB / 0.7484 GB, free: 10.16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/2.709, allocations: 38.83 kB / 0.7484 GB, free: 10.14 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/2.71, allocations: 42.25 kB / 0.7484 GB, free: 10.14 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/2.71, allocations: 496.1 kB / 0.7489 GB, free: 9.961 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/2.71, allocations: 0 / 0.7489 GB, free: 9.961 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/2.71, allocations: 19.28 kB / 0.7489 GB, free: 9.961 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/2.71, allocations: 7.812 kB / 0.7489 GB, free: 9.961 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/2.711, allocations: 417.7 kB / 0.7493 GB, free: 9.91 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/2.721, allocations: 6.698 MB / 0.7559 GB, free: 3.555 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/2.722, allocations: 121.5 kB / 0.756 GB, free: 3.461 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/2.722, allocations: 42.14 kB / 0.756 GB, free: 3.43 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3305/3.053, allocations: 154.7 MB / 0.9071 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/3.053, allocations: 35.64 kB / 0.9072 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.555e-06/3.053, allocations: 0 / 0.9072 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.002389/3.055, allocations: 478.1 kB / 0.9076 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/3.055, allocations: 106.8 kB / 0.9077 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/3.057, allocations: 1.059 MB / 0.9088 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/3.057, allocations: 33.7 kB / 0.9088 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/3.057, allocations: 384.3 kB / 0.9092 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/3.057, allocations: 43.19 kB / 0.9092 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/3.057, allocations: 77.47 kB / 0.9093 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001811/3.057, allocations: 382.8 kB / 0.9096 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/3.058, allocations: 128 kB / 0.9098 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/3.058, allocations: 260.1 kB / 0.91 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/3.058, allocations: 329.8 kB / 0.9103 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/3.058, allocations: 5.094 kB / 0.9103 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001364/3.06, allocations: 0.5469 MB / 0.9109 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/3.06, allocations: 11.94 kB / 0.9109 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/3.06, allocations: 4 kB / 0.9109 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/3.061, allocations: 188.8 kB / 0.9111 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/3.061, allocations: 54.89 kB / 0.9111 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006207/3.062, allocations: 0.6349 MB / 0.9117 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/3.062, allocations: 47.52 kB / 0.9118 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/3.062, allocations: 16 kB / 0.9118 GB, free: 3.332 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003091/3.063, allocations: 260.7 kB / 0.912 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/3.063, allocations: 68.36 kB / 0.9121 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/3.063, allocations: 261.1 kB / 0.9123 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/3.063, allocations: 4 kB / 0.9124 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/3.063, allocations: 4 kB / 0.9124 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/3.063, allocations: 1.094 kB / 0.9124 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/3.065, allocations: 0.8427 MB / 0.9132 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/3.065, allocations: 4 kB / 0.9132 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/3.065, allocations: 0 / 0.9132 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/3.066, allocations: 174.8 kB / 0.9134 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/3.067, allocations: 8 kB / 0.9134 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/3.067, allocations: 0.6321 MB / 0.914 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/3.067, allocations: 0 / 0.914 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/3.069, allocations: 1.217 MB / 0.9152 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/3.069, allocations: 169.4 kB / 0.9153 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/3.069, allocations: 4 kB / 0.9153 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/3.07, allocations: 11.98 kB / 0.9153 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/3.07, allocations: 7.984 kB / 0.9153 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/3.07, allocations: 8 kB / 0.9154 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009392/3.071, allocations: 0.7802 MB / 0.9161 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/3.071, allocations: 0 / 0.9161 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005831/3.077, allocations: 1.706 MB / 0.9178 GB, free: 13.04 MB / 0.7605 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 (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 {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008884/3.085, allocations: 2.592 MB / 0.9203 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006948/3.086, allocations: 234.1 kB / 0.9205 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/3.086, allocations: 0 / 0.9205 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/3.086, allocations: 56.17 kB / 0.9206 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/3.087, allocations: 87.7 kB / 0.9207 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/3.089, allocations: 1.392 MB / 0.922 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/3.09, allocations: 0.9333 MB / 0.9229 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000216/3.09, allocations: 72.19 kB / 0.923 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/3.09, allocations: 35.44 kB / 0.923 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of SimCode: time 3.91e-07/3.09, allocations: 0 / 0.923 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of Templates: time 0.279/3.369, allocations: 51.72 MB / 0.9736 GB, free: 434.6 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1)