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.8041/0.8041, allocations: 150.9 MB / 166 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 11.98 kB / 204.1 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 31.33 MB / 235.4 MB, free: 5.422 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.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff): time 1.492/1.628, allocations: 294.9 MB / 0.5179 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03301/1.661, allocations: 27.06 MB / 0.5444 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/1.661, allocations: 4 kB / 0.5444 GB, free: 1.531 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005008/1.661, allocations: 167.9 kB / 0.5445 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/1.662, allocations: 194.5 kB / 0.5447 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01421/1.676, allocations: 5.477 MB / 0.5501 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/1.677, allocations: 0.7553 MB / 0.5508 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/1.678, allocations: 222.9 kB / 0.551 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/1.678, allocations: 290.6 kB / 0.5513 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/1.678, allocations: 246.7 kB / 0.5515 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/1.678, allocations: 28 kB / 0.5515 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02562/1.704, allocations: 16.95 MB / 0.5681 GB, free: 9.195 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/1.704, allocations: 83.56 kB / 0.5682 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00047/1.704, allocations: 294.5 kB / 0.5685 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.717, allocations: 7.196 MB / 0.5755 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.717, allocations: 0 / 0.5755 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/1.717, allocations: 0 / 0.5755 GB, free: 1.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/1.717, allocations: 0 / 0.5755 GB, free: 1.613 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.003613/1.721, allocations: 1.443 MB / 0.5769 GB, free: 124 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.721, allocations: 8.031 kB / 0.5769 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.869e-05/1.721, allocations: 106.7 kB / 0.577 GB, free: 0 / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/1.721, allocations: 60.36 kB / 0.5771 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/1.722, allocations: 301.2 kB / 0.5773 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.722, allocations: 75.19 kB / 0.5774 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/1.722, allocations: 43.88 kB / 0.5775 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/1.723, allocations: 0.629 MB / 0.5781 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.723, allocations: 0 / 0.5781 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/1.723, allocations: 16 kB / 0.5781 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/1.723, allocations: 31.97 kB / 0.5781 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/1.724, allocations: 439 kB / 0.5785 GB, free: 14.34 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.03691/1.76, allocations: 19.42 MB / 0.5975 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/1.761, allocations: 347.8 kB / 0.5978 GB, free: 8.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/1.762, allocations: 279.8 kB / 0.5981 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08612/1.848, allocations: 41.26 MB / 0.6384 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.848, allocations: 38.56 kB / 0.6384 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.335e-06/1.848, allocations: 0 / 0.6384 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004661/1.852, allocations: 1.448 MB / 0.6398 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.852, allocations: 59.33 kB / 0.6399 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/1.853, allocations: 345.5 kB / 0.6402 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/1.853, allocations: 29.7 kB / 0.6403 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.853, allocations: 201.2 kB / 0.6404 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.853, allocations: 330.9 kB / 0.6408 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.853, allocations: 97.66 kB / 0.6409 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.854, allocations: 366.8 kB / 0.6412 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/1.854, allocations: 196.9 kB / 0.6414 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/1.854, allocations: 290.4 kB / 0.6417 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/1.855, allocations: 0.5472 MB / 0.6422 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.855, allocations: 0 / 0.6422 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001309/1.856, allocations: 0.7696 MB / 0.643 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.856, allocations: 7.984 kB / 0.643 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.856, allocations: 7.938 kB / 0.643 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/1.859, allocations: 0.7165 MB / 0.6437 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/1.859, allocations: 7.938 kB / 0.6437 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/1.86, allocations: 1.058 MB / 0.6447 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/1.861, allocations: 67.17 kB / 0.6448 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.861, allocations: 16 kB / 0.6448 GB, free: 4.293 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.0002094/1.861, allocations: 174.7 kB / 0.645 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/1.861, allocations: 55.25 kB / 0.645 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/1.863, allocations: 2.056 MB / 0.647 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001467/1.865, allocations: 1.012 MB / 0.648 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.865, allocations: 0 / 0.648 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.865, allocations: 3.984 kB / 0.648 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/1.868, allocations: 2.349 MB / 0.6503 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.868, allocations: 0 / 0.6503 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/1.868, allocations: 91.84 kB / 0.6504 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/1.87, allocations: 0.742 MB / 0.6511 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/1.87, allocations: 19.98 kB / 0.6511 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.872, allocations: 1.105 MB / 0.6522 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.872, allocations: 0 / 0.6522 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/1.874, allocations: 1.133 MB / 0.6533 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/1.874, allocations: 199.9 kB / 0.6535 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/1.874, allocations: 23.84 kB / 0.6535 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/1.874, allocations: 23.89 kB / 0.6536 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/1.874, allocations: 48.58 kB / 0.6536 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/1.874, allocations: 20 kB / 0.6536 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003495/1.875, allocations: 323.1 kB / 0.6539 GB, free: 10.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.875, allocations: 0 / 0.6539 GB, free: 10.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002468/1.877, allocations: 0.9643 MB / 0.6549 GB, free: 9.746 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.005519/1.883, allocations: 2.731 MB / 0.6575 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.885, allocations: 0.9999 MB / 0.6585 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.885, allocations: 0 / 0.6585 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.886, allocations: 495.3 kB / 0.659 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.887, allocations: 377.9 kB / 0.6593 GB, free: 5.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008167/1.896, allocations: 5.903 MB / 0.6651 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/1.896, allocations: 0.9671 MB / 0.6661 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003084/1.897, allocations: 68.23 kB / 0.6661 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/1.897, allocations: 276.6 kB / 0.6664 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/1.897, allocations: 0 / 0.6664 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2187/2.115, allocations: 51.99 MB / 0.7172 GB, free: 203.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/2.116, allocations: 261.8 kB / 0.7174 GB, free: 203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/6.146, allocations: 3.547 kB / 0.7174 GB, free: 203 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)