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.8439/0.8439, allocations: 153.8 MB / 172.7 MB, free: 4.965 MB / 142.1 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 0.0005057/0.0005057, allocations: 11.97 kB / 249.9 MB, free: 4.453 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1818, allocations: 33.36 MB / 283.2 MB, free: 1.82 MB / 222.1 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 1.805/1.987, allocations: 309.1 MB / 0.5784 GB, free: 16.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02356/2.011, allocations: 24.25 MB / 0.6021 GB, free: 4.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/2.011, allocations: 4.469 kB / 0.6021 GB, free: 4.57 MB / 478.1 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.0005438/2.012, allocations: 231.9 kB / 0.6023 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/2.012, allocations: 332.2 kB / 0.6027 GB, free: 4.227 MB / 478.1 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.02003/2.032, allocations: 7.533 MB / 0.61 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/2.034, allocations: 0.8789 MB / 0.6109 GB, free: 284 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/2.034, allocations: 191.2 kB / 0.6111 GB, free: 152 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/2.035, allocations: 365 kB / 0.6114 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/2.035, allocations: 270 kB / 0.6117 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/2.035, allocations: 37.75 kB / 0.6117 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03258/2.068, allocations: 16.1 MB / 0.6274 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/2.068, allocations: 99.5 kB / 0.6275 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/2.069, allocations: 326.3 kB / 0.6278 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01753/2.086, allocations: 7.104 MB / 0.6348 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/2.086, allocations: 4 kB / 0.6348 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/2.086, allocations: 1.031 kB / 0.6348 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.22e-05/2.086, allocations: 0 / 0.6348 GB, free: 9.855 MB / 0.4981 GB 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.004333/2.09, allocations: 1.441 MB / 0.6362 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/2.09, allocations: 13.06 kB / 0.6362 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/2.091, allocations: 112 kB / 0.6363 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/2.091, allocations: 72.95 kB / 0.6364 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/2.091, allocations: 261 kB / 0.6366 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/2.091, allocations: 30 kB / 0.6367 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/2.091, allocations: 52.69 kB / 0.6367 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/2.092, allocations: 0.6974 MB / 0.6374 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/2.092, allocations: 3.938 kB / 0.6374 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/2.092, allocations: 17.27 kB / 0.6374 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/2.092, allocations: 41.72 kB / 0.6374 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/2.093, allocations: 464.4 kB / 0.6379 GB, free: 6.574 MB / 0.4981 GB 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.06951/2.162, allocations: 22.63 MB / 0.66 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/2.163, allocations: 291.5 kB / 0.6603 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/2.163, allocations: 222.8 kB / 0.6605 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07796/2.241, allocations: 23.77 MB / 0.6837 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/2.241, allocations: 35.88 kB / 0.6837 GB, free: 7.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.996e-06/2.241, allocations: 0.5156 kB / 0.6837 GB, free: 7.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002357/2.244, allocations: 1.061 MB / 0.6848 GB, free: 6.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/2.244, allocations: 55.41 kB / 0.6848 GB, free: 6.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/2.244, allocations: 320.5 kB / 0.6851 GB, free: 5.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/2.244, allocations: 29.7 kB / 0.6851 GB, free: 5.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/2.244, allocations: 217.8 kB / 0.6854 GB, free: 5.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/2.245, allocations: 420.2 kB / 0.6858 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/2.245, allocations: 117.6 kB / 0.6859 GB, free: 5.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001818/2.245, allocations: 366.8 kB / 0.6862 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/2.245, allocations: 234.4 kB / 0.6864 GB, free: 4.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/2.246, allocations: 330.7 kB / 0.6868 GB, free: 4.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/2.246, allocations: 0.6292 MB / 0.6874 GB, free: 3.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/2.246, allocations: 0.5625 kB / 0.6874 GB, free: 3.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001206/2.248, allocations: 0.7728 MB / 0.6881 GB, free: 2.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/2.248, allocations: 10.19 kB / 0.6881 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/2.248, allocations: 4 kB / 0.6881 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/2.249, allocations: 349.3 kB / 0.6885 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/2.249, allocations: 12 kB / 0.6885 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/2.251, allocations: 1.296 MB / 0.6898 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/2.251, allocations: 80.56 kB / 0.6898 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/2.251, allocations: 12 kB / 0.6898 GB, free: 0.8789 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.0002382/2.251, allocations: 177.7 kB / 0.69 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/2.251, allocations: 51.58 kB / 0.6901 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/2.255, allocations: 4.038 MB / 0.694 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00116/2.256, allocations: 0.8157 MB / 0.6948 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/2.256, allocations: 3.938 kB / 0.6948 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/2.256, allocations: 3.984 kB / 0.6948 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/2.26, allocations: 2.111 MB / 0.6969 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/2.26, allocations: 4 kB / 0.6969 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/2.26, allocations: 97.03 kB / 0.697 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007811/2.261, allocations: 238.2 kB / 0.6972 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/2.261, allocations: 12 kB / 0.6972 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/2.262, allocations: 1.348 MB / 0.6985 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/2.262, allocations: 3.938 kB / 0.6985 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/2.263, allocations: 0.9745 MB / 0.6995 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/2.263, allocations: 119.2 kB / 0.6996 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/2.264, allocations: 35.78 kB / 0.6996 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/2.264, allocations: 12.75 kB / 0.6996 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/2.264, allocations: 41.12 kB / 0.6997 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/2.264, allocations: 27.94 kB / 0.6997 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005183/2.264, allocations: 418.8 kB / 0.7001 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/2.264, allocations: 0 / 0.7001 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002792/2.267, allocations: 1.01 MB / 0.7011 GB, free: 5.027 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.006144/2.273, allocations: 2.594 MB / 0.7036 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001496/2.275, allocations: 0.9386 MB / 0.7045 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.275, allocations: 0 / 0.7045 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006152/2.275, allocations: 361.2 kB / 0.7049 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/2.278, allocations: 437.7 kB / 0.7053 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/2.286, allocations: 5.742 MB / 0.7109 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/2.287, allocations: 0.9983 MB / 0.7119 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003118/2.287, allocations: 77.03 kB / 0.712 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/2.288, allocations: 307.3 kB / 0.7122 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/2.288, allocations: 0 / 0.7122 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/2.395, allocations: 55.97 MB / 0.7669 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/18.5, allocations: 4.562 kB / 0.7669 GB, free: 2.363 MB / 0.6231 GB " [Timeout remaining time 641] (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 sys.exit(0), Time elapsed: 21.32730353716761] Failed to read output from testmodel.py, exit status != 0: 19.052653130842373 19.064191375 16.975378388 Calling exit ...