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.7911/0.7911, allocations: 153.8 MB / 172.7 MB, free: 4.895 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.0005293/0.0005293, allocations: 15.98 kB / 249.8 MB, free: 4.391 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1807, allocations: 33.36 MB / 283.2 MB, free: 1.754 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.821/2.001, allocations: 308.9 MB / 0.5782 GB, free: 17.24 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/2.025, allocations: 21.58 MB / 0.5993 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/2.026, allocations: 3.375 kB / 0.5993 GB, free: 7.957 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.0005674/2.026, allocations: 201.4 kB / 0.5995 GB, free: 7.863 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/2.027, allocations: 326.4 kB / 0.5998 GB, free: 7.641 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.0181/2.045, allocations: 7.424 MB / 0.607 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/2.046, allocations: 0.8748 MB / 0.6079 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/2.046, allocations: 196.5 kB / 0.6081 GB, free: 3.543 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/2.047, allocations: 366.2 kB / 0.6084 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/2.047, allocations: 245.7 kB / 0.6086 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/2.047, allocations: 38.31 kB / 0.6087 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02563/2.072, allocations: 15.09 MB / 0.6234 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/2.073, allocations: 109.5 kB / 0.6235 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/2.073, allocations: 258.7 kB / 0.6238 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/2.088, allocations: 7.109 MB / 0.6307 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/2.088, allocations: 0 / 0.6307 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/2.088, allocations: 0 / 0.6307 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.659e-05/2.088, allocations: 0.7188 kB / 0.6307 GB, free: 14.35 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.003932/2.092, allocations: 1.452 MB / 0.6321 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/2.092, allocations: 8.031 kB / 0.6321 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/2.092, allocations: 115.8 kB / 0.6323 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/2.092, allocations: 72.42 kB / 0.6323 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/2.093, allocations: 258 kB / 0.6326 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/2.093, allocations: 29.38 kB / 0.6326 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/2.093, allocations: 45.81 kB / 0.6326 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/2.094, allocations: 0.6997 MB / 0.6333 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/2.094, allocations: 6.188 kB / 0.6333 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/2.094, allocations: 16 kB / 0.6333 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/2.094, allocations: 31.97 kB / 0.6334 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/2.094, allocations: 472.4 kB / 0.6338 GB, free: 11.06 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.07066/2.165, allocations: 21.76 MB / 0.6551 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/2.166, allocations: 292.7 kB / 0.6553 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/2.166, allocations: 223.5 kB / 0.6556 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0817/2.248, allocations: 23.85 MB / 0.6789 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/2.248, allocations: 43.12 kB / 0.6789 GB, free: 12.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 3.055e-06/2.248, allocations: 0 / 0.6789 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002444/2.25, allocations: 1.057 MB / 0.6799 GB, free: 11.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/2.25, allocations: 51.41 kB / 0.68 GB, free: 11.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/2.251, allocations: 328.4 kB / 0.6803 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/2.251, allocations: 29.7 kB / 0.6803 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/2.251, allocations: 222.7 kB / 0.6805 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/2.251, allocations: 420.1 kB / 0.6809 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/2.251, allocations: 117.6 kB / 0.681 GB, free: 10.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001854/2.252, allocations: 374.8 kB / 0.6814 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/2.252, allocations: 225.2 kB / 0.6816 GB, free: 9.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/2.252, allocations: 332.5 kB / 0.6819 GB, free: 9.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/2.253, allocations: 0.6331 MB / 0.6826 GB, free: 8.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.253, allocations: 0 / 0.6826 GB, free: 8.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001189/2.254, allocations: 0.7709 MB / 0.6833 GB, free: 8.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/2.254, allocations: 8.75 kB / 0.6833 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/2.254, allocations: 0 / 0.6833 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/2.256, allocations: 335 kB / 0.6836 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/2.256, allocations: 19.94 kB / 0.6837 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/2.257, allocations: 1.289 MB / 0.6849 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/2.258, allocations: 83.25 kB / 0.685 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/2.258, allocations: 16 kB / 0.685 GB, free: 6.367 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.000229/2.258, allocations: 180.1 kB / 0.6852 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/2.258, allocations: 60.23 kB / 0.6852 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/2.262, allocations: 4.043 MB / 0.6892 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001121/2.263, allocations: 0.8196 MB / 0.69 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/2.263, allocations: 11.88 kB / 0.69 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/2.263, allocations: 3.984 kB / 0.69 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/2.266, allocations: 1.997 MB / 0.6919 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.266, allocations: 0 / 0.6919 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/2.266, allocations: 93.81 kB / 0.692 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/2.267, allocations: 250.7 kB / 0.6923 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/2.267, allocations: 15.98 kB / 0.6923 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/2.268, allocations: 1.337 MB / 0.6936 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/2.268, allocations: 4 kB / 0.6936 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/2.269, allocations: 0.9757 MB / 0.6946 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/2.27, allocations: 115.2 kB / 0.6947 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/2.27, allocations: 37.41 kB / 0.6947 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/2.27, allocations: 19.94 kB / 0.6947 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/2.27, allocations: 40.56 kB / 0.6948 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/2.27, allocations: 23.94 kB / 0.6948 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004957/2.271, allocations: 419.6 kB / 0.6952 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.271, allocations: 0 / 0.6952 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002488/2.273, allocations: 1.01 MB / 0.6962 GB, free: 10.61 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.005783/2.279, allocations: 2.596 MB / 0.6987 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001369/2.28, allocations: 0.9417 MB / 0.6996 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.28, allocations: 0 / 0.6996 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/2.281, allocations: 360.2 kB / 0.7 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/2.283, allocations: 436.7 kB / 0.7004 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/2.291, allocations: 5.758 MB / 0.706 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/2.292, allocations: 408.2 kB / 0.7064 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002954/2.292, allocations: 79.44 kB / 0.7065 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/2.292, allocations: 303.3 kB / 0.7068 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 5.92e-07/2.292, allocations: 0 / 0.7068 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/2.4, allocations: 56.2 MB / 0.7616 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/17.14, allocations: 11.08 kB / 0.7617 GB, free: 8.473 MB / 0.6231 GB " [Timeout remaining time 642] (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: 19.068483472336084] Failed to read output from testmodel.py, exit status != 0: 17.681849164888263 17.691716258 15.601265704 Calling exit ...