Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchangerDTorWorEff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchangerDTorWorEff",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.7941/0.7941, allocations: 150.8 MB / 166.1 MB, free: 15.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.831e-05, allocations: 7.984 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 31.98 MB / 236.8 MB, free: 5.406 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.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff): time 1.527/1.663, allocations: 295.8 MB / 0.5202 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03081/1.694, allocations: 26.69 MB / 0.5463 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/1.695, allocations: 8 kB / 0.5463 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/1.695, allocations: 167.1 kB / 0.5464 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/1.695, allocations: 202.4 kB / 0.5466 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01404/1.709, allocations: 5.468 MB / 0.552 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/1.711, allocations: 0.7631 MB / 0.5527 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/1.711, allocations: 208.4 kB / 0.5529 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/1.711, allocations: 266.6 kB / 0.5532 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/1.712, allocations: 222.7 kB / 0.5534 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/1.712, allocations: 20 kB / 0.5534 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02367/1.735, allocations: 16.95 MB / 0.5699 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/1.735, allocations: 75.58 kB / 0.57 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/1.736, allocations: 288.2 kB / 0.5703 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/1.748, allocations: 7.152 MB / 0.5773 GB, free: 1.648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.748, allocations: 0 / 0.5773 GB, free: 1.648 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/1.748, allocations: 0 / 0.5773 GB, free: 1.648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/1.748, allocations: 0 / 0.5773 GB, free: 1.648 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003366/1.751, allocations: 1.357 MB / 0.5786 GB, free: 248 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.751, allocations: 12.03 kB / 0.5786 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.498e-05/1.751, allocations: 102.6 kB / 0.5787 GB, free: 124 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/1.751, allocations: 56.19 kB / 0.5788 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/1.752, allocations: 319.2 kB / 0.5791 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/1.752, allocations: 59.27 kB / 0.5791 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/1.752, allocations: 39.94 kB / 0.5792 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/1.753, allocations: 0.629 MB / 0.5798 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.753, allocations: 4 kB / 0.5798 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/1.753, allocations: 20 kB / 0.5798 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/1.753, allocations: 34.22 kB / 0.5798 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/1.754, allocations: 438.9 kB / 0.5802 GB, free: 14.46 MB / 478.1 MB 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.03761/1.791, allocations: 19.56 MB / 0.5993 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/1.792, allocations: 345.4 kB / 0.5997 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/1.792, allocations: 282.7 kB / 0.5999 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08798/1.88, allocations: 41.65 MB / 0.6406 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.88, allocations: 34.55 kB / 0.6407 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.214e-06/1.88, allocations: 0 / 0.6407 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004441/1.885, allocations: 1.459 MB / 0.6421 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.885, allocations: 63.34 kB / 0.6421 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/1.885, allocations: 341.5 kB / 0.6425 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.885, allocations: 29.64 kB / 0.6425 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.885, allocations: 193.4 kB / 0.6427 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.885, allocations: 342.7 kB / 0.643 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/1.885, allocations: 65.67 kB / 0.6431 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.886, allocations: 366.8 kB / 0.6434 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/1.886, allocations: 200.9 kB / 0.6436 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/1.886, allocations: 282.5 kB / 0.6439 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/1.887, allocations: 0.5472 MB / 0.6444 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.887, allocations: 0 / 0.6444 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001217/1.888, allocations: 0.7697 MB / 0.6452 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.888, allocations: 4 kB / 0.6452 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.888, allocations: 7.938 kB / 0.6452 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/1.891, allocations: 0.7186 MB / 0.6459 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/1.891, allocations: 8 kB / 0.6459 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/1.892, allocations: 1.058 MB / 0.6469 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/1.892, allocations: 71.11 kB / 0.647 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/1.893, allocations: 16 kB / 0.647 GB, free: 3.895 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.893, allocations: 170.7 kB / 0.6472 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/1.893, allocations: 51.25 kB / 0.6472 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/1.895, allocations: 2.063 MB / 0.6492 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00141/1.896, allocations: 1.007 MB / 0.6502 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.897, allocations: 0 / 0.6502 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.897, allocations: 7.984 kB / 0.6502 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/1.9, allocations: 2.345 MB / 0.6525 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.9, allocations: 4 kB / 0.6525 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/1.9, allocations: 95.84 kB / 0.6526 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/1.902, allocations: 0.742 MB / 0.6533 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/1.902, allocations: 12 kB / 0.6533 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/1.903, allocations: 1.12 MB / 0.6544 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.903, allocations: 0 / 0.6544 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/1.905, allocations: 1.129 MB / 0.6555 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/1.905, allocations: 231.7 kB / 0.6558 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/1.905, allocations: 12 kB / 0.6558 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/1.905, allocations: 23.98 kB / 0.6558 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/1.905, allocations: 52.58 kB / 0.6558 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/1.905, allocations: 19.94 kB / 0.6559 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003082/1.906, allocations: 319.1 kB / 0.6562 GB, free: 10.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.906, allocations: 0 / 0.6562 GB, free: 10.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003133/1.909, allocations: 0.972 MB / 0.6571 GB, free: 9.309 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008378/1.917, allocations: 2.729 MB / 0.6598 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002685/1.92, allocations: 0.9916 MB / 0.6607 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.92, allocations: 3.938 kB / 0.6608 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/1.922, allocations: 0.4992 MB / 0.6612 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.925, allocations: 386.2 kB / 0.6616 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/1.938, allocations: 5.925 MB / 0.6674 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/1.938, allocations: 0.9671 MB / 0.6683 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004888/1.939, allocations: 68.22 kB / 0.6684 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.939, allocations: 275.3 kB / 0.6687 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/1.939, allocations: 4 kB / 0.6687 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.228/2.167, allocations: 51.79 MB / 0.7192 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/2.167, allocations: 269.2 kB / 0.7195 GB, free: 206.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.935/6.103, allocations: 4.219 kB / 0.7195 GB, free: 206.1 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchangerDTorWorEff_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchangerDTorWorEff.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)