Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8284/0.8284, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.843e-05, allocations: 4 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1546, allocations: 31.98 MB / 236.8 MB, free: 5.176 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.TestSimpleStaticCondenser): time 1.653/1.808, allocations: 296.6 MB / 0.5209 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5263/2.334, allocations: 188.8 MB / 0.7053 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/2.335, allocations: 14.94 kB / 0.7053 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005486/2.336, allocations: 166.4 kB / 0.7055 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007875/2.336, allocations: 290.5 kB / 0.7058 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03017/2.367, allocations: 9.209 MB / 0.7148 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001989/2.369, allocations: 0.9774 MB / 0.7157 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/2.369, allocations: 350.2 kB / 0.716 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/2.37, allocations: 343.1 kB / 0.7164 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/2.37, allocations: 328.3 kB / 0.7167 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/2.37, allocations: 29.73 kB / 0.7167 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0421/2.412, allocations: 20.21 MB / 0.7364 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/2.412, allocations: 111.6 kB / 0.7366 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006551/2.413, allocations: 427.3 kB / 0.737 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02566/2.439, allocations: 10.28 MB / 0.747 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/2.439, allocations: 0 / 0.747 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.405e-06/2.439, allocations: 0 / 0.747 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.059e-05/2.439, allocations: 0 / 0.747 GB, free: 15.46 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.006169/2.445, allocations: 2.041 MB / 0.749 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/2.445, allocations: 13 kB / 0.749 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/2.445, allocations: 148.5 kB / 0.7491 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/2.445, allocations: 97.75 kB / 0.7492 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/2.446, allocations: 439.6 kB / 0.7497 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/2.446, allocations: 54.75 kB / 0.7497 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/2.446, allocations: 69.48 kB / 0.7498 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/2.448, allocations: 0.8253 MB / 0.7506 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/2.448, allocations: 2.906 kB / 0.7506 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/2.448, allocations: 38.88 kB / 0.7506 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/2.448, allocations: 28.64 kB / 0.7506 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/2.449, allocations: 0.5314 MB / 0.7512 GB, free: 13.35 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/2.465, allocations: 12.41 MB / 0.7633 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/2.466, allocations: 269.1 kB / 0.7635 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/2.466, allocations: 201.3 kB / 0.7637 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09615/2.562, allocations: 54.27 MB / 0.8167 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/2.562, allocations: 42.38 kB / 0.8168 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 2.124e-06/2.562, allocations: 1.969 kB / 0.8168 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.001886/2.564, allocations: 0.961 MB / 0.8177 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/2.564, allocations: 55.41 kB / 0.8178 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/2.565, allocations: 492.8 kB / 0.8182 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/2.565, allocations: 29.39 kB / 0.8183 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/2.565, allocations: 378.7 kB / 0.8186 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/2.565, allocations: 283.6 kB / 0.8189 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/2.565, allocations: 71.73 kB / 0.819 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001213/2.566, allocations: 376.3 kB / 0.8193 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/2.566, allocations: 163.1 kB / 0.8195 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/2.566, allocations: 360.5 kB / 0.8198 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/2.567, allocations: 0.596 MB / 0.8204 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.567, allocations: 0 / 0.8204 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001132/2.568, allocations: 0.7344 MB / 0.8211 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/2.568, allocations: 13.8 kB / 0.8211 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/2.568, allocations: 8.625 kB / 0.8211 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/2.57, allocations: 406.1 kB / 0.8215 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/2.57, allocations: 65.62 kB / 0.8216 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009256/2.571, allocations: 1.299 MB / 0.8229 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/2.571, allocations: 90.34 kB / 0.823 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/2.571, allocations: 23.69 kB / 0.823 GB, free: 7.168 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002388/2.572, allocations: 201.8 kB / 0.8232 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/2.572, allocations: 59.16 kB / 0.8232 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/2.573, allocations: 1.832 MB / 0.825 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001069/2.575, allocations: 0.8096 MB / 0.8258 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/2.575, allocations: 0 / 0.8258 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/2.575, allocations: 3.984 kB / 0.8258 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/2.577, allocations: 2.206 MB / 0.828 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.577, allocations: 4 kB / 0.828 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/2.578, allocations: 97.34 kB / 0.8281 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/2.579, allocations: 301.7 kB / 0.8283 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/2.579, allocations: 19.98 kB / 0.8284 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009869/2.58, allocations: 1.34 MB / 0.8297 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/2.58, allocations: 2.906 kB / 0.8297 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/2.581, allocations: 0.9833 MB / 0.8306 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/2.581, allocations: 242.2 kB / 0.8309 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/2.581, allocations: 7.188 kB / 0.8309 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/2.582, allocations: 17.78 kB / 0.8309 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/2.582, allocations: 51.72 kB / 0.8309 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/2.582, allocations: 17.62 kB / 0.831 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004152/2.582, allocations: 394.6 kB / 0.8313 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/2.582, allocations: 0 / 0.8313 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003847/2.586, allocations: 1.493 MB / 0.8328 GB, free: 15.2 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007972/2.594, allocations: 3.614 MB / 0.8363 GB, free: 12.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00121/2.595, allocations: 0.9616 MB / 0.8373 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.595, allocations: 0 / 0.8373 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/2.596, allocations: 404 kB / 0.8376 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/2.598, allocations: 393.3 kB / 0.838 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/2.608, allocations: 6.68 MB / 0.8445 GB, free: 5.016 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/2.609, allocations: 1.05 MB / 0.8456 GB, free: 3.938 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004924/2.609, allocations: 105.1 kB / 0.8457 GB, free: 3.836 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/2.609, allocations: 375.4 kB / 0.846 GB, free: 3.676 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/2.61, allocations: 0 / 0.846 GB, free: 3.676 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/2.713, allocations: 66.22 MB / 0.9107 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/2.714, allocations: 251.4 kB / 0.9109 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.863/7.576, allocations: 4 kB / 0.9109 GB, free: 1.629 MB / 0.7325 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)