Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.7768/0.7768, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 11.98 kB / 204.1 MB, free: 10 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 31.33 MB / 235.4 MB, free: 5.43 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.TestSimpleStaticCondenser): time 1.563/1.704, allocations: 295.2 MB / 0.5182 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03274/1.737, allocations: 27.17 MB / 0.5447 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/1.737, allocations: 4 kB / 0.5447 GB, free: 0.8594 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44: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/SimpleStaticCondenser.mo:61:3-63: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/SimpleStaticCondenser.mo:64:3-66:36: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/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc 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/SourceP.mo:30:3-31:45: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). Notification: Performance of NFTyping.typeComponents: time 0.0005391/1.738, allocations: 172 kB / 0.5449 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/1.738, allocations: 226.3 kB / 0.5451 GB, free: 480 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01468/1.753, allocations: 5.39 MB / 0.5504 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/1.754, allocations: 0.8241 MB / 0.5512 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/1.754, allocations: 222.6 kB / 0.5514 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/1.754, allocations: 306.5 kB / 0.5517 GB, free: 9.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/1.755, allocations: 262.6 kB / 0.5519 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/1.755, allocations: 24 kB / 0.552 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02319/1.778, allocations: 15.9 MB / 0.5675 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/1.778, allocations: 91.5 kB / 0.5676 GB, free: 9.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004228/1.779, allocations: 310.3 kB / 0.5679 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/1.793, allocations: 7.079 MB / 0.5748 GB, free: 2.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.793, allocations: 4 kB / 0.5748 GB, free: 2.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/1.793, allocations: 0 / 0.5748 GB, free: 2.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/1.793, allocations: 0 / 0.5748 GB, free: 2.047 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003798/1.797, allocations: 1.478 MB / 0.5762 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.797, allocations: 12.03 kB / 0.5762 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.797, allocations: 111.2 kB / 0.5764 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/1.797, allocations: 68 kB / 0.5764 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/1.797, allocations: 318.2 kB / 0.5767 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/1.797, allocations: 45.25 kB / 0.5768 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/1.797, allocations: 45.33 kB / 0.5768 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/1.798, allocations: 0.6814 MB / 0.5775 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.798, allocations: 0 / 0.5775 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/1.798, allocations: 20 kB / 0.5775 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/1.798, allocations: 39.97 kB / 0.5775 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/1.799, allocations: 451.6 kB / 0.578 GB, free: 14.66 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.06679/1.865, allocations: 36.16 MB / 0.6133 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/1.866, allocations: 363.6 kB / 0.6136 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/1.866, allocations: 294.8 kB / 0.6139 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07385/1.94, allocations: 36.36 MB / 0.6494 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.94, allocations: 30.56 kB / 0.6494 GB, free: 14.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.304e-06/1.94, allocations: 0 / 0.6494 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002172/1.943, allocations: 1.203 MB / 0.6506 GB, free: 13.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.943, allocations: 55.41 kB / 0.6507 GB, free: 13.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/1.943, allocations: 324.4 kB / 0.651 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/1.943, allocations: 29.7 kB / 0.651 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/1.943, allocations: 217.3 kB / 0.6512 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/1.943, allocations: 401.9 kB / 0.6516 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.943, allocations: 113.6 kB / 0.6517 GB, free: 12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.944, allocations: 378.7 kB / 0.6521 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.944, allocations: 213.2 kB / 0.6523 GB, free: 11.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/1.944, allocations: 331.5 kB / 0.6526 GB, free: 11.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/1.945, allocations: 0.6175 MB / 0.6532 GB, free: 10.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.945, allocations: 4 kB / 0.6532 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001041/1.946, allocations: 0.7764 MB / 0.654 GB, free: 9.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.946, allocations: 8 kB / 0.654 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.946, allocations: 0 / 0.654 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/1.948, allocations: 338.3 kB / 0.6543 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/1.948, allocations: 19.92 kB / 0.6543 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/1.949, allocations: 1.283 MB / 0.6556 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/1.949, allocations: 78.88 kB / 0.6556 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/1.949, allocations: 20.03 kB / 0.6556 GB, free: 7.828 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/1.949, allocations: 181 kB / 0.6558 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/1.95, allocations: 51.25 kB / 0.6559 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/1.953, allocations: 4.034 MB / 0.6598 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001037/1.954, allocations: 0.8158 MB / 0.6606 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.954, allocations: 3.938 kB / 0.6606 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.954, allocations: 7.984 kB / 0.6606 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/1.957, allocations: 2.179 MB / 0.6627 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.957, allocations: 0 / 0.6627 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/1.957, allocations: 91.91 kB / 0.6628 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/1.958, allocations: 283.7 kB / 0.6631 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/1.958, allocations: 12 kB / 0.6631 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009497/1.959, allocations: 1.332 MB / 0.6644 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.959, allocations: 48 / 0.6644 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/1.96, allocations: 0.9766 MB / 0.6654 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.96, allocations: 184 kB / 0.6655 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/1.96, allocations: 35.69 kB / 0.6656 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/1.961, allocations: 15.91 kB / 0.6656 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/1.961, allocations: 48.47 kB / 0.6656 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.961, allocations: 24 kB / 0.6657 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004388/1.961, allocations: 422.8 kB / 0.6661 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.961, allocations: 0 / 0.6661 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002414/1.964, allocations: 0.9916 MB / 0.667 GB, free: 11.8 MB / 0.5606 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 {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005191/1.969, allocations: 2.579 MB / 0.6696 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001279/1.97, allocations: 1.002 MB / 0.6705 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.97, allocations: 0 / 0.6705 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/1.971, allocations: 400.3 kB / 0.6709 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.973, allocations: 422.6 kB / 0.6713 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/1.98, allocations: 6.02 MB / 0.6772 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/1.981, allocations: 0.9868 MB / 0.6782 GB, free: 184 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003451/1.981, allocations: 76.5 kB / 0.6782 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.982, allocations: 311.4 kB / 0.6785 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/1.982, allocations: 0 / 0.6785 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/2.219, allocations: 53.22 MB / 0.7305 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/2.219, allocations: 252.5 kB / 0.7307 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.051/6.27, allocations: 0 / 0.7307 GB, free: 206.5 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)