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.8168/0.8168, allocations: 150.9 MB / 166.4 MB, free: 14.25 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 15.98 kB / 204.6 MB, free: 9.547 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 31.32 MB / 236 MB, free: 5.398 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.538/1.669, allocations: 296.4 MB / 0.5199 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02898/1.698, allocations: 24.03 MB / 0.5433 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/1.699, allocations: 4 kB / 0.5433 GB, free: 3.824 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.0005737/1.699, allocations: 212.5 kB / 0.5435 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005841/1.7, allocations: 257.3 kB / 0.5438 GB, free: 3.367 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.01714/1.717, allocations: 7.429 MB / 0.551 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009828/1.718, allocations: 0.8766 MB / 0.5519 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/1.718, allocations: 243.8 kB / 0.5521 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/1.719, allocations: 338.7 kB / 0.5524 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/1.719, allocations: 274.5 kB / 0.5527 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/1.719, allocations: 36 kB / 0.5527 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02446/1.744, allocations: 15.86 MB / 0.5682 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/1.744, allocations: 95.58 kB / 0.5683 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004198/1.744, allocations: 334.2 kB / 0.5686 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/1.757, allocations: 7.075 MB / 0.5755 GB, free: 2.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.757, allocations: 0 / 0.5755 GB, free: 2.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/1.757, allocations: 3.938 kB / 0.5755 GB, free: 2.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/1.757, allocations: 4 kB / 0.5755 GB, free: 2.809 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.004066/1.761, allocations: 1.474 MB / 0.577 GB, free: 1.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.761, allocations: 8.031 kB / 0.577 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/1.762, allocations: 115.2 kB / 0.5771 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/1.762, allocations: 68 kB / 0.5772 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/1.762, allocations: 310.2 kB / 0.5775 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/1.762, allocations: 29.38 kB / 0.5775 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/1.762, allocations: 52.12 kB / 0.5775 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/1.763, allocations: 0.6893 MB / 0.5782 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.763, allocations: 7.938 kB / 0.5782 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/1.763, allocations: 16 kB / 0.5782 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/1.763, allocations: 31.92 kB / 0.5783 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/1.764, allocations: 463.3 kB / 0.5787 GB, free: 15.43 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.07841/1.842, allocations: 36.14 MB / 0.614 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/1.843, allocations: 371.5 kB / 0.6144 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/1.843, allocations: 298.7 kB / 0.6146 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.101/1.944, allocations: 36.35 MB / 0.6501 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.944, allocations: 34.56 kB / 0.6502 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 3.267e-06/1.944, allocations: 0 / 0.6502 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.003363/1.948, allocations: 1.203 MB / 0.6514 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.948, allocations: 59.34 kB / 0.6514 GB, free: 13.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/1.948, allocations: 324.4 kB / 0.6517 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/1.948, allocations: 29.7 kB / 0.6517 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/1.948, allocations: 221.3 kB / 0.652 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.949, allocations: 393.9 kB / 0.6523 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.949, allocations: 113.5 kB / 0.6524 GB, free: 12.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.949, allocations: 378.8 kB / 0.6528 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/1.95, allocations: 213.2 kB / 0.653 GB, free: 12.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/1.95, allocations: 324.5 kB / 0.6533 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.951, allocations: 0.6136 MB / 0.6539 GB, free: 11.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.951, allocations: 0 / 0.6539 GB, free: 11.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001661/1.953, allocations: 0.7842 MB / 0.6547 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.953, allocations: 11.94 kB / 0.6547 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.953, allocations: 4 kB / 0.6547 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/1.956, allocations: 342.7 kB / 0.655 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/1.956, allocations: 19.98 kB / 0.655 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/1.957, allocations: 1.286 MB / 0.6563 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/1.958, allocations: 74.91 kB / 0.6564 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/1.958, allocations: 20.03 kB / 0.6564 GB, free: 8.594 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.0002772/1.958, allocations: 180.6 kB / 0.6566 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.958, allocations: 51.25 kB / 0.6566 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005135/1.963, allocations: 4.035 MB / 0.6606 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001624/1.965, allocations: 0.8118 MB / 0.6613 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.965, allocations: 7.938 kB / 0.6614 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.965, allocations: 7.984 kB / 0.6614 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/1.969, allocations: 2.181 MB / 0.6635 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.969, allocations: 0 / 0.6635 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/1.97, allocations: 95.84 kB / 0.6636 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/1.971, allocations: 245.9 kB / 0.6638 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/1.971, allocations: 15.98 kB / 0.6638 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/1.972, allocations: 1.329 MB / 0.6651 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.972, allocations: 4 kB / 0.6651 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.974, allocations: 0.9688 MB / 0.6661 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/1.974, allocations: 192 kB / 0.6663 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.975, allocations: 31.66 kB / 0.6663 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/1.975, allocations: 12 kB / 0.6663 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.975, allocations: 52.47 kB / 0.6664 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/1.975, allocations: 16 kB / 0.6664 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007171/1.976, allocations: 418.8 kB / 0.6668 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.976, allocations: 3.938 kB / 0.6668 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003363/1.979, allocations: 0.9955 MB / 0.6677 GB, free: 12.6 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.006783/1.986, allocations: 2.58 MB / 0.6703 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001932/1.988, allocations: 1.042 MB / 0.6713 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.988, allocations: 64 / 0.6713 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005969/1.989, allocations: 412.2 kB / 0.6717 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.991, allocations: 452.9 kB / 0.6721 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007713/1.999, allocations: 5.714 MB / 0.6777 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/1.999, allocations: 0.9944 MB / 0.6787 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003278/1.999, allocations: 68.55 kB / 0.6787 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/2, allocations: 311.3 kB / 0.679 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/2, allocations: 0 / 0.679 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.42/4.42, allocations: 54.23 MB / 0.732 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/22.73, allocations: 18.73 kB / 0.732 GB, free: 206.2 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)