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.8292/0.8292, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 15.98 kB / 204 MB, free: 10.09 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 31.33 MB / 235.4 MB, free: 5.449 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.TestBend): time 1.85/2.115, allocations: 292.9 MB / 0.5158 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7171/2.832, allocations: 191.5 MB / 0.7029 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/2.833, allocations: 7.75 kB / 0.7029 GB, free: 3.754 MB / 0.5762 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.0007506/2.834, allocations: 187.3 kB / 0.7031 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00082/2.835, allocations: 263.7 kB / 0.7033 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04086/2.876, allocations: 9.465 MB / 0.7126 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001188/2.877, allocations: 0.5093 MB / 0.7131 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/2.877, allocations: 255.1 kB / 0.7133 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/2.878, allocations: 241.2 kB / 0.7135 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/2.878, allocations: 340.6 kB / 0.7139 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/2.878, allocations: 26.84 kB / 0.7139 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05189/2.93, allocations: 21.09 MB / 0.7345 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005098/2.931, allocations: 197.5 kB / 0.7347 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005844/2.931, allocations: 302.4 kB / 0.7349 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04368/2.975, allocations: 10.89 MB / 0.7456 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/2.975, allocations: 5.188 kB / 0.7456 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.206e-06/2.975, allocations: 0 / 0.7456 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.167e-05/2.975, allocations: 1.406 kB / 0.7456 GB, free: 15.55 MB / 0.5919 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.009356/2.984, allocations: 2.235 MB / 0.7478 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/2.984, allocations: 8.469 kB / 0.7478 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/2.985, allocations: 83.22 kB / 0.7479 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008886/2.986, allocations: 0.5417 MB / 0.7484 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/2.986, allocations: 27.16 kB / 0.7484 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/2.986, allocations: 41.8 kB / 0.7484 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/2.987, allocations: 489.2 kB / 0.7489 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/2.987, allocations: 2.094 kB / 0.7489 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/2.987, allocations: 17.25 kB / 0.7489 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/2.987, allocations: 15.3 kB / 0.7489 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/2.987, allocations: 409.7 kB / 0.7493 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/2.997, allocations: 6.712 MB / 0.7559 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/2.998, allocations: 120.2 kB / 0.756 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/2.998, allocations: 47.25 kB / 0.7561 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2972/3.295, allocations: 154.7 MB / 0.9071 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/3.295, allocations: 31.44 kB / 0.9072 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 2.404e-06/3.295, allocations: 1.203 kB / 0.9072 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.002509/3.298, allocations: 471.5 kB / 0.9076 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/3.298, allocations: 106.8 kB / 0.9077 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/3.3, allocations: 1.064 MB / 0.9088 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/3.3, allocations: 31.64 kB / 0.9088 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/3.3, allocations: 387.9 kB / 0.9092 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/3.3, allocations: 40.02 kB / 0.9092 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/3.3, allocations: 83.16 kB / 0.9093 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001635/3.301, allocations: 384.1 kB / 0.9097 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/3.301, allocations: 127.7 kB / 0.9098 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/3.301, allocations: 259.1 kB / 0.91 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/3.302, allocations: 315.6 kB / 0.9103 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/3.302, allocations: 4 kB / 0.9103 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00161/3.303, allocations: 0.5651 MB / 0.9109 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/3.303, allocations: 9.094 kB / 0.9109 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/3.303, allocations: 4 kB / 0.9109 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/3.305, allocations: 200.2 kB / 0.9111 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/3.305, allocations: 49.89 kB / 0.9111 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006266/3.306, allocations: 0.6272 MB / 0.9117 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/3.306, allocations: 42.03 kB / 0.9118 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/3.306, allocations: 23.36 kB / 0.9118 GB, free: 15.93 MB / 0.7637 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.0003257/3.306, allocations: 256.8 kB / 0.9121 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/3.307, allocations: 67.16 kB / 0.9121 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/3.307, allocations: 262.8 kB / 0.9124 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/3.307, allocations: 0 / 0.9124 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/3.307, allocations: 4 kB / 0.9124 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/3.307, allocations: 7.922 kB / 0.9124 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/3.309, allocations: 0.8418 MB / 0.9132 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/3.309, allocations: 0 / 0.9132 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/3.31, allocations: 8.031 kB / 0.9132 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/3.311, allocations: 182.4 kB / 0.9134 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/3.311, allocations: 0 / 0.9134 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/3.312, allocations: 0.6292 MB / 0.914 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/3.312, allocations: 4 kB / 0.914 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/3.313, allocations: 406.6 kB / 0.9144 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/3.313, allocations: 171.8 kB / 0.9145 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/3.314, allocations: 0 / 0.9145 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/3.314, allocations: 15.67 kB / 0.9146 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/3.314, allocations: 10.89 kB / 0.9146 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/3.314, allocations: 5.203 kB / 0.9146 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001296/3.315, allocations: 0.7825 MB / 0.9153 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/3.315, allocations: 0 / 0.9153 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007341/3.323, allocations: 1.642 MB / 0.9169 GB, free: 11.25 MB / 0.7637 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.01069/3.333, allocations: 2.58 MB / 0.9195 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007612/3.334, allocations: 243.8 kB / 0.9197 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/3.334, allocations: 4 kB / 0.9197 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/3.334, allocations: 62.69 kB / 0.9198 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/3.335, allocations: 95.77 kB / 0.9199 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/3.337, allocations: 1.248 MB / 0.9211 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/3.338, allocations: 0.9309 MB / 0.922 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003219/3.338, allocations: 76.19 kB / 0.9221 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/3.339, allocations: 35.44 kB / 0.9221 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of SimCode: time 8.11e-07/3.339, allocations: 0 / 0.9221 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of Templates: time 0.07339/3.412, allocations: 51.56 MB / 0.9724 GB, free: 3.105 MB / 0.8106 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)