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.9257/0.9257, allocations: 150.8 MB / 166.1 MB, free: 15.18 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.072e-05, allocations: 4 kB / 204.8 MB, free: 9.695 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 31.99 MB / 236.8 MB, free: 5.379 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend): time 2.112/2.403, allocations: 293.8 MB / 0.5181 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7756/3.179, allocations: 189.3 MB / 0.703 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004813/3.179, allocations: 7.688 kB / 0.703 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005482/3.18, allocations: 189 kB / 0.7031 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000697/3.181, allocations: 262.4 kB / 0.7034 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04294/3.224, allocations: 9.657 MB / 0.7128 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001198/3.225, allocations: 0.5106 MB / 0.7133 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/3.225, allocations: 229.9 kB / 0.7135 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/3.226, allocations: 216.7 kB / 0.7137 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/3.226, allocations: 318.3 kB / 0.714 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/3.226, allocations: 17.34 kB / 0.7141 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05079/3.277, allocations: 21.19 MB / 0.7348 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/3.277, allocations: 181.7 kB / 0.7349 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/3.278, allocations: 310.9 kB / 0.7352 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0468/3.325, allocations: 10.85 MB / 0.7458 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/3.325, allocations: 3.984 kB / 0.7458 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.011e-06/3.325, allocations: 0 / 0.7458 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.919e-05/3.325, allocations: 3.844 kB / 0.7458 GB, free: 15.21 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.01016/3.335, allocations: 2.105 MB / 0.7479 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/3.335, allocations: 9.406 kB / 0.7479 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/3.336, allocations: 81.47 kB / 0.748 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/3.337, allocations: 0.5431 MB / 0.7485 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/3.337, allocations: 26.84 kB / 0.7485 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/3.337, allocations: 40.97 kB / 0.7486 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/3.338, allocations: 493 kB / 0.749 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/3.338, allocations: 6.922 kB / 0.749 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/3.338, allocations: 14.66 kB / 0.7491 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/3.338, allocations: 12.75 kB / 0.7491 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/3.338, allocations: 416.2 kB / 0.7495 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/3.349, allocations: 6.705 MB / 0.756 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/3.35, allocations: 118.2 kB / 0.7561 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/3.35, allocations: 43.17 kB / 0.7562 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3255/3.675, allocations: 156 MB / 0.9086 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/3.675, allocations: 38.83 kB / 0.9086 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 2.935e-06/3.675, allocations: 0 / 0.9086 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.002432/3.678, allocations: 479 kB / 0.909 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/3.678, allocations: 102.8 kB / 0.9091 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/3.68, allocations: 1.068 MB / 0.9102 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/3.68, allocations: 25.7 kB / 0.9102 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/3.68, allocations: 385.4 kB / 0.9106 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/3.68, allocations: 46.77 kB / 0.9106 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/3.68, allocations: 38.45 kB / 0.9107 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001931/3.681, allocations: 384.6 kB / 0.911 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/3.681, allocations: 132.7 kB / 0.9112 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/3.681, allocations: 260.1 kB / 0.9114 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/3.681, allocations: 315.8 kB / 0.9117 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/3.681, allocations: 4 kB / 0.9117 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001591/3.683, allocations: 0.5577 MB / 0.9122 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/3.683, allocations: 8 kB / 0.9123 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/3.683, allocations: 4.469 kB / 0.9123 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/3.685, allocations: 215.5 kB / 0.9125 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/3.685, allocations: 57.28 kB / 0.9125 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/3.686, allocations: 0.6243 MB / 0.9131 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/3.686, allocations: 45 kB / 0.9132 GB, free: 68 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/3.686, allocations: 19.81 kB / 0.9132 GB, free: 52 kB / 0.7481 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.0004316/3.686, allocations: 263 kB / 0.9134 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/3.687, allocations: 67.16 kB / 0.9135 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/3.687, allocations: 263.9 kB / 0.9138 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/3.687, allocations: 4 kB / 0.9138 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/3.687, allocations: 0 / 0.9138 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/3.687, allocations: 3.938 kB / 0.9138 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/3.69, allocations: 0.8471 MB / 0.9146 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/3.69, allocations: 0 / 0.9146 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/3.69, allocations: 4 kB / 0.9146 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/3.691, allocations: 194.6 kB / 0.9148 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/3.691, allocations: 4 kB / 0.9148 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005574/3.692, allocations: 0.6334 MB / 0.9154 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/3.692, allocations: 2.906 kB / 0.9154 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/3.693, allocations: 411 kB / 0.9158 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/3.693, allocations: 174.9 kB / 0.916 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/3.693, allocations: 7.688 kB / 0.916 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/3.693, allocations: 4 kB / 0.916 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/3.694, allocations: 7.984 kB / 0.916 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/3.694, allocations: 4 kB / 0.916 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001289/3.695, allocations: 0.7818 MB / 0.9168 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/3.695, allocations: 4 kB / 0.9168 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007662/3.703, allocations: 1.651 MB / 0.9184 GB, free: 11.34 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.01268/3.715, allocations: 2.543 MB / 0.9209 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008908/3.716, allocations: 236.9 kB / 0.9211 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/3.716, allocations: 4.062 kB / 0.9211 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/3.716, allocations: 53.81 kB / 0.9211 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/3.718, allocations: 85.48 kB / 0.9212 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/3.72, allocations: 1.287 MB / 0.9225 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/3.721, allocations: 0.9266 MB / 0.9234 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003349/3.721, allocations: 80.38 kB / 0.9235 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/3.721, allocations: 31.44 kB / 0.9235 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of SimCode: time 1.202e-06/3.721, allocations: 1.859 kB / 0.9235 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of Templates: time 0.07654/3.798, allocations: 50.78 MB / 0.9731 GB, free: 3.934 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: