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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5457/0.5457, allocations: 120.4 MB / 139.5 MB, free: 12.98 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 216.7 MB, free: 8.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/2.009e-05, allocations: 4.469 kB / 216.7 MB, free: 8.586 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser): time 0.9538/0.9538, allocations: 255.6 MB / 472.4 MB, free: 7.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.9736, allocations: 21.56 MB / 493.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.9738, allocations: 8 kB / 493.9 MB, free: 1.863 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0004209/0.9742, allocations: 198.6 kB / 494.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.9746, allocations: 337.6 kB / 494.5 MB, free: 1.336 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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.2156/1.19, allocations: 7.472 MB / 0.4902 GB, free: 1.605 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008123/1.191, allocations: 0.9213 MB / 0.4911 GB, free: 1.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/1.191, allocations: 187.7 kB / 0.4913 GB, free: 1.305 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/1.192, allocations: 0.5117 MB / 0.4918 GB, free: 1.258 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/1.192, allocations: 194.7 kB / 0.4919 GB, free: 1.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/1.192, allocations: 40.25 kB / 0.492 GB, free: 1.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/1.21, allocations: 15.12 MB / 0.5067 GB, free: 10.83 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/1.21, allocations: 99.95 kB / 0.5068 GB, free: 10.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/1.211, allocations: 219.2 kB / 0.507 GB, free: 10.67 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.222, allocations: 9.208 MB / 0.516 GB, free: 1.902 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.222, allocations: 1.125 kB / 0.516 GB, free: 1.902 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.222, allocations: 0.9062 kB / 0.516 GB, free: 1.902 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/1.222, allocations: 4 kB / 0.516 GB, free: 1.898 MB / 458.7 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.003136/1.226, allocations: 1.434 MB / 0.5174 GB, free: 444 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.226, allocations: 12.84 kB / 0.5175 GB, free: 432 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.581e-05/1.226, allocations: 111.2 kB / 0.5176 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/1.226, allocations: 73.64 kB / 0.5176 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/1.226, allocations: 253.8 kB / 0.5179 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/1.226, allocations: 30.19 kB / 0.5179 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.226, allocations: 40.38 kB / 0.5179 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/1.227, allocations: 0.7058 MB / 0.5186 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.227, allocations: 0 / 0.5186 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.227, allocations: 20.5 kB / 0.5187 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/1.227, allocations: 37.19 kB / 0.5187 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/1.227, allocations: 467.8 kB / 0.5191 GB, free: 14.68 MB / 474.7 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.03461/1.262, allocations: 21.76 MB / 0.5404 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/1.262, allocations: 287.6 kB / 0.5407 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.262, allocations: 231.3 kB / 0.5409 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03955/1.302, allocations: 23.84 MB / 0.5642 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.302, allocations: 47.61 kB / 0.5642 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=124): time 1.974e-06/1.302, allocations: 0 / 0.5642 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124): time 0.001524/1.303, allocations: 1.053 MB / 0.5652 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/1.304, allocations: 55.41 kB / 0.5653 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/1.304, allocations: 332.4 kB / 0.5656 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/1.304, allocations: 30.64 kB / 0.5656 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.304, allocations: 213.8 kB / 0.5658 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/1.304, allocations: 418 kB / 0.5662 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/1.304, allocations: 113.7 kB / 0.5663 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.304, allocations: 366.8 kB / 0.5667 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.305, allocations: 225.2 kB / 0.5669 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/1.305, allocations: 334.4 kB / 0.5672 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/1.305, allocations: 0.6299 MB / 0.5678 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.305, allocations: 0 / 0.5678 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0007285/1.306, allocations: 0.782 MB / 0.5686 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.306, allocations: 4 kB / 0.5686 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.306, allocations: 4 kB / 0.5686 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/1.307, allocations: 340.3 kB / 0.5689 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/1.307, allocations: 19.27 kB / 0.569 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007334/1.308, allocations: 1.292 MB / 0.5702 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/1.308, allocations: 84.72 kB / 0.5703 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/1.308, allocations: 20.06 kB / 0.5703 GB, free: 10.27 MB / 0.5105 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.0001564/1.308, allocations: 170.5 kB / 0.5705 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/1.308, allocations: 60.39 kB / 0.5705 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/1.311, allocations: 4.053 MB / 0.5745 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006866/1.312, allocations: 0.8158 MB / 0.5753 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.312, allocations: 0 / 0.5753 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/1.312, allocations: 4.609 kB / 0.5753 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/1.314, allocations: 2.002 MB / 0.5773 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.314, allocations: 1.062 kB / 0.5773 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/1.314, allocations: 102.2 kB / 0.5773 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/1.314, allocations: 238.4 kB / 0.5776 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.314, allocations: 20 kB / 0.5776 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/1.315, allocations: 1.344 MB / 0.5789 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.315, allocations: 80 / 0.5789 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/1.316, allocations: 0.9746 MB / 0.5799 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/1.316, allocations: 113.2 kB / 0.58 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/1.316, allocations: 35.78 kB / 0.58 GB, free: 108 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.316, allocations: 23.42 kB / 0.58 GB, free: 88 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/1.316, allocations: 44.58 kB / 0.5801 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/1.316, allocations: 16.84 kB / 0.5801 GB, free: 28 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000329/1.316, allocations: 423.4 kB / 0.5805 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.316, allocations: 0 / 0.5805 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002112/1.318, allocations: 1.006 MB / 0.5815 GB, free: 14.61 MB / 0.5261 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.003597/1.322, allocations: 2.717 MB / 0.5841 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008528/1.323, allocations: 0.9457 MB / 0.585 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.323, allocations: 8 kB / 0.5851 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/1.323, allocations: 352.4 kB / 0.5854 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.324, allocations: 432.3 kB / 0.5858 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/1.33, allocations: 5.791 MB / 0.5915 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/1.33, allocations: 396.3 kB / 0.5918 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002604/1.331, allocations: 78.91 kB / 0.5919 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.331, allocations: 308.4 kB / 0.5922 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/1.331, allocations: 0 / 0.5922 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/1.394, allocations: 56.29 MB / 0.6472 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.663/11.06, allocations: 10.36 kB / 0.6472 GB, free: 11.96 MB / 0.5886 GB " [Timeout remaining time 649] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.608974882401526] Failed to read output from testmodel.py, exit status != 0: 11.399907318875194 11.520642643 10.296584157 Calling exit ...