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.7455/0.7455, allocations: 150.9 MB / 166.1 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002481, allocations: 19.97 kB / 204.2 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 31.34 MB / 235.6 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.TestSimpleStaticCondenser): time 1.542/1.678, allocations: 295.2 MB / 0.5184 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02646/1.705, allocations: 24.49 MB / 0.5423 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/1.705, allocations: 4 kB / 0.5423 GB, free: 3.742 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.0004786/1.706, allocations: 180.8 kB / 0.5424 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/1.706, allocations: 224.6 kB / 0.5427 GB, free: 3.348 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01598/1.722, allocations: 6.497 MB / 0.549 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009874/1.723, allocations: 0.8749 MB / 0.5499 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/1.723, allocations: 238.1 kB / 0.5501 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/1.724, allocations: 354.5 kB / 0.5504 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/1.724, allocations: 270.5 kB / 0.5507 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/1.724, allocations: 36 kB / 0.5507 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02181/1.746, allocations: 15.94 MB / 0.5663 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/1.746, allocations: 95.58 kB / 0.5664 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/1.747, allocations: 334.2 kB / 0.5667 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/1.76, allocations: 7.083 MB / 0.5736 GB, free: 3.645 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.76, allocations: 0 / 0.5736 GB, free: 3.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/1.76, allocations: 7.938 kB / 0.5736 GB, free: 3.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/1.76, allocations: 0 / 0.5736 GB, free: 3.637 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.003542/1.764, allocations: 1.482 MB / 0.5751 GB, free: 2.105 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.764, allocations: 15.97 kB / 0.5751 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.112e-05/1.764, allocations: 107.2 kB / 0.5752 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/1.764, allocations: 69.5 kB / 0.5752 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/1.765, allocations: 322.2 kB / 0.5756 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/1.765, allocations: 33.38 kB / 0.5756 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/1.765, allocations: 40.12 kB / 0.5756 GB, free: 1.488 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/1.765, allocations: 0.6893 MB / 0.5763 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.765, allocations: 0 / 0.5763 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/1.766, allocations: 19.94 kB / 0.5763 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/1.766, allocations: 39.95 kB / 0.5764 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/1.766, allocations: 451.6 kB / 0.5768 GB, free: 260 kB / 462.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.06703/1.833, allocations: 36.16 MB / 0.6121 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/1.834, allocations: 367.5 kB / 0.6124 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/1.834, allocations: 294.8 kB / 0.6127 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07479/1.909, allocations: 36.35 MB / 0.6482 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.909, allocations: 30.56 kB / 0.6483 GB, free: 4 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=124): time 2.385e-06/1.909, allocations: 4 kB / 0.6483 GB, free: 0 / 0.5294 GB Notification: Performance of matching and sorting (n=124): time 0.002254/1.911, allocations: 1.2 MB / 0.6494 GB, free: 14.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.911, allocations: 59.39 kB / 0.6495 GB, free: 14.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/1.912, allocations: 324.4 kB / 0.6498 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/1.912, allocations: 29.7 kB / 0.6498 GB, free: 14.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/1.912, allocations: 221.2 kB / 0.65 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/1.912, allocations: 397.8 kB / 0.6504 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/1.912, allocations: 117.6 kB / 0.6505 GB, free: 13.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.912, allocations: 370.8 kB / 0.6509 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/1.913, allocations: 225.2 kB / 0.6511 GB, free: 13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/1.913, allocations: 324.5 kB / 0.6514 GB, free: 12.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/1.914, allocations: 0.6175 MB / 0.652 GB, free: 12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.914, allocations: 4 kB / 0.652 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001075/1.915, allocations: 0.7686 MB / 0.6528 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.915, allocations: 8 kB / 0.6528 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.915, allocations: 4 kB / 0.6528 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.917, allocations: 343.2 kB / 0.6531 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/1.917, allocations: 19.92 kB / 0.6531 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/1.918, allocations: 1.294 MB / 0.6544 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/1.918, allocations: 79.03 kB / 0.6545 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/1.918, allocations: 16 kB / 0.6545 GB, free: 9.41 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.0002075/1.918, allocations: 181.8 kB / 0.6546 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/1.918, allocations: 54.25 kB / 0.6547 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/1.922, allocations: 4.03 MB / 0.6586 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001008/1.923, allocations: 0.8157 MB / 0.6594 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.923, allocations: 7.938 kB / 0.6594 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.923, allocations: 3.984 kB / 0.6594 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/1.926, allocations: 2.178 MB / 0.6616 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.926, allocations: 0 / 0.6616 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/1.926, allocations: 95.89 kB / 0.6617 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/1.927, allocations: 242.4 kB / 0.6619 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/1.927, allocations: 12 kB / 0.6619 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009462/1.928, allocations: 1.328 MB / 0.6632 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.928, allocations: 0 / 0.6632 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.929, allocations: 0.9766 MB / 0.6642 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/1.929, allocations: 184 kB / 0.6643 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.929, allocations: 43.59 kB / 0.6644 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.929, allocations: 15.98 kB / 0.6644 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/1.93, allocations: 48.53 kB / 0.6644 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/1.93, allocations: 16 kB / 0.6644 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004434/1.93, allocations: 418.8 kB / 0.6648 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.93, allocations: 7.938 kB / 0.6649 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002463/1.932, allocations: 0.9915 MB / 0.6658 GB, free: 13.41 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.005636/1.938, allocations: 2.572 MB / 0.6683 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.94, allocations: 1.041 MB / 0.6693 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.94, allocations: 0 / 0.6693 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005747/1.941, allocations: 416.2 kB / 0.6697 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/1.943, allocations: 440.7 kB / 0.6702 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/1.951, allocations: 6.027 MB / 0.6761 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/1.951, allocations: 0.9944 MB / 0.677 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003312/1.952, allocations: 68.53 kB / 0.6771 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.952, allocations: 299.3 kB / 0.6774 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/1.952, allocations: 4 kB / 0.6774 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/2.198, allocations: 54.08 MB / 0.7302 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/2.198, allocations: 252.7 kB / 0.7304 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.074/6.273, allocations: 1.75 kB / 0.7304 GB, free: 206.6 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)