Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.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.TestStaticExchangerDTorWorEff,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticExchangerDTorWorEff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticExchangerDTorWorEff",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.804/0.804, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.585e-05, allocations: 4 kB / 204.9 MB, free: 9.945 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 31.99 MB / 236.9 MB, free: 5.391 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.TestStaticExchangerDTorWorEff): time 1.502/1.638, allocations: 295.8 MB / 0.5202 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1832/1.821, allocations: 187.4 MB / 0.7032 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/1.821, allocations: 15.88 kB / 0.7032 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/1.822, allocations: 55.48 kB / 0.7032 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.263/2.085, allocations: 201.2 kB / 0.7034 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02247/2.107, allocations: 9.109 MB / 0.7123 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000804/2.108, allocations: 0.7615 MB / 0.7131 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/2.108, allocations: 353.9 kB / 0.7134 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/2.109, allocations: 251.6 kB / 0.7136 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/2.109, allocations: 290.5 kB / 0.7139 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/2.109, allocations: 36.11 kB / 0.7139 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02969/2.138, allocations: 20.36 MB / 0.7338 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/2.139, allocations: 109.7 kB / 0.7339 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000408/2.139, allocations: 346.5 kB / 0.7343 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01868/2.158, allocations: 10.35 MB / 0.7444 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/2.158, allocations: 0 / 0.7444 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/2.158, allocations: 0 / 0.7444 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.976e-06/2.158, allocations: 0 / 0.7444 GB, free: 15.7 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004268/2.162, allocations: 1.979 MB / 0.7463 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/2.162, allocations: 10.66 kB / 0.7463 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/2.162, allocations: 111.8 kB / 0.7464 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/2.162, allocations: 88.64 kB / 0.7465 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/2.163, allocations: 425.9 kB / 0.7469 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/2.163, allocations: 53.69 kB / 0.747 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/2.163, allocations: 64.78 kB / 0.747 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/2.164, allocations: 0.7053 MB / 0.7477 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/2.164, allocations: 2.969 kB / 0.7477 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/2.164, allocations: 28.25 kB / 0.7477 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/2.164, allocations: 19.75 kB / 0.7478 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/2.165, allocations: 0.5175 MB / 0.7483 GB, free: 13.66 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.00239/2.167, allocations: 3.152 MB / 0.7514 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/2.167, allocations: 228.6 kB / 0.7516 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/2.168, allocations: 109.8 kB / 0.7517 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3606/2.528, allocations: 184.2 MB / 0.9315 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/2.528, allocations: 35.33 kB / 0.9316 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/2.528, allocations: 0 / 0.9316 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.002358/2.531, allocations: 0.7423 MB / 0.9323 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/2.531, allocations: 63.39 kB / 0.9324 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/2.531, allocations: 0.4895 MB / 0.9328 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/2.531, allocations: 29.2 kB / 0.9329 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/2.531, allocations: 355.3 kB / 0.9332 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/2.531, allocations: 97.17 kB / 0.9333 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/2.532, allocations: 51.89 kB / 0.9334 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/2.532, allocations: 361.2 kB / 0.9337 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/2.532, allocations: 98.02 kB / 0.9338 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/2.532, allocations: 268.6 kB / 0.934 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/2.533, allocations: 404.5 kB / 0.9344 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/2.533, allocations: 5.859 kB / 0.9344 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007886/2.533, allocations: 0.4943 MB / 0.9349 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/2.533, allocations: 7.984 kB / 0.9349 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.533, allocations: 8 kB / 0.9349 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/2.535, allocations: 391.5 kB / 0.9353 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/2.535, allocations: 63.66 kB / 0.9354 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007076/2.536, allocations: 0.7732 MB / 0.9361 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/2.536, allocations: 60.72 kB / 0.9362 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/2.536, allocations: 23.94 kB / 0.9362 GB, free: 7.797 MB / 0.7794 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 (sourceWaterSteam_FF.C.ftype,sourceWaterSteam_FC.C.ftype,sinkWaterSteam_FF.fluid,sinkWaterSteam_FC.fluid,exchangerWaterSteamDTorWorEFF.fluid_c,exchangerWaterSteamDTorWorEFF.fluid_f,sourceWaterSteam_FC.fluid1,sourceWaterSteam_FF.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002064/2.537, allocations: 188.8 kB / 0.9364 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/2.537, allocations: 55.33 kB / 0.9364 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/2.538, allocations: 0.4919 MB / 0.9369 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/2.538, allocations: 7.984 kB / 0.9369 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.538, allocations: 7.938 kB / 0.9369 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/2.538, allocations: 0 / 0.9369 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/2.54, allocations: 1.057 MB / 0.938 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.54, allocations: 0 / 0.938 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/2.54, allocations: 25.83 kB / 0.938 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/2.541, allocations: 309.3 kB / 0.9383 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/2.541, allocations: 6.75 kB / 0.9383 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005943/2.542, allocations: 0.7675 MB / 0.939 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.542, allocations: 4.031 kB / 0.939 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/2.543, allocations: 490 kB / 0.9395 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/2.543, allocations: 158.7 kB / 0.9397 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/2.543, allocations: 7.438 kB / 0.9397 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/2.543, allocations: 3.062 kB / 0.9397 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/2.543, allocations: 21.39 kB / 0.9397 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/2.543, allocations: 11.98 kB / 0.9397 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003561/2.544, allocations: 362.8 kB / 0.9401 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/2.544, allocations: 0 / 0.9401 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003604/2.547, allocations: 1.555 MB / 0.9416 GB, free: 2.977 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * 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 {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005904/2.553, allocations: 3.205 MB / 0.9447 GB, free: 152 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005239/2.554, allocations: 294.8 kB / 0.945 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.554, allocations: 0 / 0.945 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/2.554, allocations: 110.4 kB / 0.9451 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/2.555, allocations: 141.1 kB / 0.9452 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/2.56, allocations: 5.192 MB / 0.9503 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/2.561, allocations: 0.866 MB / 0.9511 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002404/2.561, allocations: 83.97 kB / 0.9512 GB, free: 10.06 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/2.561, allocations: 211.8 kB / 0.9514 GB, free: 10 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/2.561, allocations: 0 / 0.9514 GB, free: 10 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/2.806, allocations: 56.5 MB / 1.007 GB, free: 436.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/2.806, allocations: 308.7 kB / 1.007 GB, free: 436.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/6.96, allocations: 0 / 1.007 GB, free: 436.3 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticExchangerDTorWorEff_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticExchangerDTorWorEff.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe 2>&1)