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.8143/0.8143, allocations: 153.9 MB / 173.5 MB, free: 4.973 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 19.97 kB / 250.6 MB, free: 4.469 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 33.36 MB / 284 MB, free: 1.832 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.762/1.931, allocations: 308.9 MB / 0.579 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02277/1.954, allocations: 24.25 MB / 0.6027 GB, free: 4.688 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/1.954, allocations: 5.969 kB / 0.6027 GB, free: 4.688 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.0005462/1.955, allocations: 235.2 kB / 0.6029 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005646/1.955, allocations: 317.7 kB / 0.6032 GB, free: 4.352 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.01765/1.973, allocations: 7.538 MB / 0.6106 GB, free: 1 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/1.974, allocations: 0.8795 MB / 0.6115 GB, free: 468 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/1.974, allocations: 195.1 kB / 0.6117 GB, free: 336 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/1.975, allocations: 365.1 kB / 0.612 GB, free: 120 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/1.975, allocations: 269 kB / 0.6123 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/1.975, allocations: 38.44 kB / 0.6123 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02939/2.005, allocations: 16.1 MB / 0.628 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/2.005, allocations: 103.5 kB / 0.6281 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005775/2.005, allocations: 330.3 kB / 0.6284 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/2.021, allocations: 7.107 MB / 0.6354 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/2.021, allocations: 0 / 0.6354 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/2.021, allocations: 0 / 0.6354 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.216e-05/2.021, allocations: 0.75 kB / 0.6354 GB, free: 10.23 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.003897/2.025, allocations: 1.449 MB / 0.6368 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/2.025, allocations: 12.03 kB / 0.6368 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.672e-05/2.025, allocations: 13.97 kB / 0.6368 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/2.025, allocations: 116 kB / 0.6369 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/2.025, allocations: 73.73 kB / 0.637 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/2.025, allocations: 257.1 kB / 0.6372 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/2.025, allocations: 30.09 kB / 0.6373 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/2.025, allocations: 40.69 kB / 0.6373 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/2.026, allocations: 0.7014 MB / 0.638 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/2.026, allocations: 3.938 kB / 0.638 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/2.026, allocations: 23.94 kB / 0.638 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/2.026, allocations: 32.78 kB / 0.638 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/2.027, allocations: 468.5 kB / 0.6385 GB, free: 6.938 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.06943/2.096, allocations: 22.64 MB / 0.6606 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/2.097, allocations: 291.5 kB / 0.6609 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/2.097, allocations: 218.8 kB / 0.6611 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08001/2.177, allocations: 23.77 MB / 0.6843 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/2.177, allocations: 35.5 kB / 0.6843 GB, free: 7.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.134e-06/2.177, allocations: 7.938 kB / 0.6843 GB, free: 7.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002295/2.18, allocations: 1.061 MB / 0.6854 GB, free: 6.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/2.18, allocations: 51.41 kB / 0.6854 GB, free: 6.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/2.18, allocations: 324.5 kB / 0.6857 GB, free: 6.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/2.18, allocations: 29.7 kB / 0.6858 GB, free: 6.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/2.18, allocations: 221.8 kB / 0.686 GB, free: 5.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/2.181, allocations: 416.2 kB / 0.6864 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/2.181, allocations: 117.6 kB / 0.6865 GB, free: 5.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001734/2.181, allocations: 366.8 kB / 0.6868 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/2.181, allocations: 226.3 kB / 0.687 GB, free: 4.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/2.182, allocations: 334.7 kB / 0.6874 GB, free: 4.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/2.182, allocations: 0.6292 MB / 0.688 GB, free: 3.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.182, allocations: 3.938 kB / 0.688 GB, free: 3.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001129/2.183, allocations: 0.7769 MB / 0.6887 GB, free: 3.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/2.184, allocations: 8 kB / 0.6888 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/2.184, allocations: 4.938 kB / 0.6888 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/2.185, allocations: 331.7 kB / 0.6891 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/2.185, allocations: 25.11 kB / 0.6891 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/2.186, allocations: 1.285 MB / 0.6904 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/2.187, allocations: 76.19 kB / 0.6904 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/2.187, allocations: 20.03 kB / 0.6904 GB, free: 1.23 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.0002217/2.187, allocations: 178.6 kB / 0.6906 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/2.187, allocations: 55.58 kB / 0.6907 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/2.191, allocations: 4.032 MB / 0.6946 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001119/2.192, allocations: 0.8196 MB / 0.6954 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/2.192, allocations: 3.938 kB / 0.6954 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/2.192, allocations: 3.984 kB / 0.6954 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/2.195, allocations: 2.11 MB / 0.6975 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/2.195, allocations: 0 / 0.6975 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/2.195, allocations: 97.75 kB / 0.6976 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007706/2.196, allocations: 239.9 kB / 0.6978 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/2.196, allocations: 19.98 kB / 0.6978 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/2.197, allocations: 1.342 MB / 0.6991 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.197, allocations: 0 / 0.6991 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/2.198, allocations: 0.9705 MB / 0.7001 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/2.199, allocations: 123.2 kB / 0.7002 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/2.199, allocations: 39.72 kB / 0.7002 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/2.199, allocations: 12.5 kB / 0.7002 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/2.199, allocations: 53.25 kB / 0.7003 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/2.199, allocations: 16 kB / 0.7003 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005472/2.2, allocations: 422.8 kB / 0.7007 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/2.2, allocations: 0 / 0.7007 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00261/2.202, allocations: 1.01 MB / 0.7017 GB, free: 5.379 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.005468/2.208, allocations: 2.587 MB / 0.7042 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001417/2.209, allocations: 0.9433 MB / 0.7051 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.209, allocations: 0 / 0.7051 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000572/2.21, allocations: 373.6 kB / 0.7055 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/2.212, allocations: 429.3 kB / 0.7059 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/2.221, allocations: 5.757 MB / 0.7115 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/2.221, allocations: 0.9944 MB / 0.7125 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003237/2.221, allocations: 77.98 kB / 0.7126 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/2.222, allocations: 299.3 kB / 0.7129 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of SimCode: time 1.183e-06/2.222, allocations: 0 / 0.7129 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09725/2.319, allocations: 56.01 MB / 0.7676 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/18.14, allocations: 8.766 kB / 0.7676 GB, free: 2.695 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.603595088934526] Failed to read output from testmodel.py, exit status != 0: 18.71449115499854 18.725893618 16.702722716 Calling exit ...