Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.7843/0.7843, allocations: 153.8 MB / 173.5 MB, free: 4.98 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.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004667, allocations: 11.98 kB / 250.6 MB, free: 4.473 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1637, allocations: 33.36 MB / 284 MB, free: 1.844 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.TestSteamEngine): time 1.727/1.891, allocations: 307.5 MB / 0.5776 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/1.92, allocations: 29.21 MB / 0.6062 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/1.92, allocations: 2.281 kB / 0.6062 GB, free: 2.625 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17:writable] Warning: Connector C1 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/Machines/SteamEngine.mo:38:3-39:44:writable] Warning: Connector C2 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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.0006752/1.921, allocations: 233.7 kB / 0.6064 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/1.921, allocations: 163.9 kB / 0.6065 GB, free: 2.414 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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.02529/1.946, allocations: 9.696 MB / 0.616 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007294/1.947, allocations: 434.9 kB / 0.6164 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/1.947, allocations: 97.89 kB / 0.6165 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/1.947, allocations: 178.3 kB / 0.6167 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/1.948, allocations: 141.8 kB / 0.6168 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/1.948, allocations: 20.03 kB / 0.6168 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03683/1.984, allocations: 20.56 MB / 0.6369 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/1.984, allocations: 55.78 kB / 0.637 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/1.985, allocations: 153.1 kB / 0.6371 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02089/2.006, allocations: 8.609 MB / 0.6455 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/2.006, allocations: 1.906 kB / 0.6455 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/2.006, allocations: 0 / 0.6455 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.836e-06/2.006, allocations: 0 / 0.6455 GB, free: 15.86 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004845/2.011, allocations: 1.385 MB / 0.6469 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/2.011, allocations: 8.031 kB / 0.6469 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.362e-05/2.011, allocations: 13.92 kB / 0.6469 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/2.011, allocations: 67.75 kB / 0.647 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/2.011, allocations: 40.64 kB / 0.647 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/2.011, allocations: 178.7 kB / 0.6472 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/2.011, allocations: 17.09 kB / 0.6472 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/2.011, allocations: 20 kB / 0.6472 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/2.012, allocations: 357.1 kB / 0.6476 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/2.012, allocations: 0 / 0.6476 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/2.012, allocations: 12 kB / 0.6476 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/2.012, allocations: 15.98 kB / 0.6476 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/2.012, allocations: 221.1 kB / 0.6478 GB, free: 13.46 MB / 0.5137 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.01872/2.031, allocations: 6.475 MB / 0.6541 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/2.031, allocations: 114.9 kB / 0.6542 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/2.031, allocations: 93.7 kB / 0.6543 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1116/2.143, allocations: 32.84 MB / 0.6864 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/2.143, allocations: 30.56 kB / 0.6864 GB, free: 5.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/2.143, allocations: 0 / 0.6864 GB, free: 5.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.00116/2.144, allocations: 456.7 kB / 0.6868 GB, free: 5.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/2.144, allocations: 55.41 kB / 0.6869 GB, free: 5.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/2.144, allocations: 229.2 kB / 0.6871 GB, free: 4.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/2.144, allocations: 33.7 kB / 0.6872 GB, free: 4.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/2.144, allocations: 141.1 kB / 0.6873 GB, free: 4.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/2.144, allocations: 174.4 kB / 0.6875 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/2.144, allocations: 57.62 kB / 0.6875 GB, free: 4.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001605/2.145, allocations: 346.7 kB / 0.6878 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/2.145, allocations: 84.42 kB / 0.6879 GB, free: 4.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/2.145, allocations: 149.5 kB / 0.6881 GB, free: 3.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/2.145, allocations: 273.8 kB / 0.6883 GB, free: 3.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.145, allocations: 0 / 0.6883 GB, free: 3.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005444/2.146, allocations: 344.3 kB / 0.6887 GB, free: 3.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.146, allocations: 8 kB / 0.6887 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/2.146, allocations: 0 / 0.6887 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/2.146, allocations: 108.8 kB / 0.6888 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/2.146, allocations: 20.67 kB / 0.6888 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005258/2.147, allocations: 0.6134 MB / 0.6894 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/2.147, allocations: 35.7 kB / 0.6894 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/2.147, allocations: 9.406 kB / 0.6894 GB, free: 2.488 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001476/2.147, allocations: 141.8 kB / 0.6896 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/2.147, allocations: 25.03 kB / 0.6896 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/2.148, allocations: 0.8099 MB / 0.6904 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005465/2.149, allocations: 385.1 kB / 0.6907 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.149, allocations: 0 / 0.6907 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/2.149, allocations: 0 / 0.6907 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/2.151, allocations: 1.436 MB / 0.6921 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/2.151, allocations: 9.531 kB / 0.6922 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/2.151, allocations: 71.84 kB / 0.6922 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/2.151, allocations: 96.81 kB / 0.6923 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/2.151, allocations: 15.94 kB / 0.6923 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004966/2.151, allocations: 0.6304 MB / 0.6929 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.151, allocations: 7.984 kB / 0.693 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/2.152, allocations: 0.6537 MB / 0.6936 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/2.152, allocations: 51.62 kB / 0.6936 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/2.152, allocations: 23.83 kB / 0.6937 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/2.153, allocations: 12.75 kB / 0.6937 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/2.153, allocations: 47.81 kB / 0.6937 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/2.153, allocations: 16 kB / 0.6937 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003567/2.153, allocations: 291 kB / 0.694 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.153, allocations: 0 / 0.694 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00362/2.157, allocations: 1.353 MB / 0.6953 GB, free: 12.15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006817/2.163, allocations: 2.736 MB / 0.698 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007577/2.164, allocations: 457.1 kB / 0.6984 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/2.164, allocations: 1.594 kB / 0.6984 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/2.165, allocations: 183.6 kB / 0.6986 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/2.166, allocations: 222.4 kB / 0.6988 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/2.172, allocations: 4.177 MB / 0.7029 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/2.172, allocations: 0.8408 MB / 0.7037 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001558/2.172, allocations: 42.7 kB / 0.7038 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/2.172, allocations: 167.3 kB / 0.7039 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/2.172, allocations: 0 / 0.7039 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/2.295, allocations: 60.48 MB / 0.763 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/18.35, allocations: 17.2 kB / 0.763 GB, free: 7.234 MB / 0.6231 GB " [Timeout remaining time 641] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.90561538306065] Failed to read output from testmodel.py, exit status != 0: 18.907750320038758 18.917895408 16.909869585 Calling exit ...