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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7935/0.7935, allocations: 150.8 MB / 166.1 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.429e-05, allocations: 4 kB / 204.8 MB, free: 10.1 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 31.99 MB / 236.8 MB, free: 5.402 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine): time 1.493/1.629, allocations: 294.8 MB / 0.5192 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03547/1.664, allocations: 32.36 MB / 0.5508 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/1.664, allocations: 4 kB / 0.5508 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/1.665, allocations: 143.3 kB / 0.5509 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/1.665, allocations: 107.2 kB / 0.551 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01531/1.68, allocations: 6.836 MB / 0.5577 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/1.681, allocations: 406.1 kB / 0.5581 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/1.681, allocations: 108.8 kB / 0.5582 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/1.681, allocations: 139.3 kB / 0.5583 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/1.681, allocations: 127.3 kB / 0.5584 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/1.681, allocations: 12 kB / 0.5584 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02694/1.708, allocations: 20.29 MB / 0.5782 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/1.708, allocations: 47.77 kB / 0.5783 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/1.708, allocations: 164.9 kB / 0.5785 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/1.721, allocations: 8.552 MB / 0.5868 GB, free: 7.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.721, allocations: 4 kB / 0.5868 GB, free: 7.926 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/1.721, allocations: 3.938 kB / 0.5868 GB, free: 7.922 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/1.721, allocations: 0 / 0.5868 GB, free: 7.922 MB / 478.1 MB 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.003554/1.725, allocations: 1.373 MB / 0.5882 GB, free: 6.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.725, allocations: 12.03 kB / 0.5882 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/1.725, allocations: 66.72 kB / 0.5882 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/1.725, allocations: 32.56 kB / 0.5883 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.725, allocations: 245.8 kB / 0.5885 GB, free: 6.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.725, allocations: 20.38 kB / 0.5885 GB, free: 6.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/1.725, allocations: 20 kB / 0.5885 GB, free: 6.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/1.726, allocations: 349.1 kB / 0.5889 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.726, allocations: 1.031 kB / 0.5889 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.726, allocations: 12 kB / 0.5889 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/1.726, allocations: 19.98 kB / 0.5889 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/1.726, allocations: 212.8 kB / 0.5891 GB, free: 5.457 MB / 478.1 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.01869/1.745, allocations: 9.942 MB / 0.5988 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/1.745, allocations: 150.9 kB / 0.599 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/1.745, allocations: 131.5 kB / 0.5991 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1125/1.858, allocations: 52.05 MB / 0.6499 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.858, allocations: 38.56 kB / 0.6499 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/1.858, allocations: 0 / 0.6499 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.001054/1.859, allocations: 0.5172 MB / 0.6505 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.859, allocations: 51.41 kB / 0.6505 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/1.859, allocations: 244.7 kB / 0.6507 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/1.859, allocations: 25.7 kB / 0.6508 GB, free: 300 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/1.859, allocations: 141.1 kB / 0.6509 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.859, allocations: 173.4 kB / 0.6511 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/1.859, allocations: 33.7 kB / 0.6511 GB, free: 15.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.86, allocations: 342.8 kB / 0.6514 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/1.86, allocations: 84.55 kB / 0.6515 GB, free: 15.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/1.86, allocations: 145.3 kB / 0.6516 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/1.86, allocations: 265.7 kB / 0.6519 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.86, allocations: 0 / 0.6519 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004774/1.861, allocations: 343.3 kB / 0.6522 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.861, allocations: 4 kB / 0.6522 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.861, allocations: 4 kB / 0.6522 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/1.861, allocations: 116.7 kB / 0.6523 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/1.861, allocations: 8 kB / 0.6523 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/1.861, allocations: 0.6109 MB / 0.6529 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/1.862, allocations: 31.66 kB / 0.653 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/1.862, allocations: 15.94 kB / 0.653 GB, free: 13.91 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.0001303/1.862, allocations: 141.8 kB / 0.6531 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/1.862, allocations: 27.62 kB / 0.6531 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/1.863, allocations: 0.808 MB / 0.6539 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004757/1.863, allocations: 389.7 kB / 0.6543 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.863, allocations: 0 / 0.6543 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.863, allocations: 3.984 kB / 0.6543 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/1.865, allocations: 1.486 MB / 0.6558 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.865, allocations: 4 kB / 0.6558 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/1.865, allocations: 71.91 kB / 0.6558 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/1.865, allocations: 120.7 kB / 0.6559 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/1.865, allocations: 20.52 kB / 0.656 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003814/1.866, allocations: 0.6357 MB / 0.6566 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.866, allocations: 4 kB / 0.6566 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/1.866, allocations: 0.6405 MB / 0.6572 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.866, allocations: 164.3 kB / 0.6574 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/1.866, allocations: 15.98 kB / 0.6574 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/1.867, allocations: 12 kB / 0.6574 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/1.867, allocations: 43.84 kB / 0.6574 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.867, allocations: 16 kB / 0.6575 GB, free: 9.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002777/1.867, allocations: 291 kB / 0.6577 GB, free: 8.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.867, allocations: 0 / 0.6577 GB, free: 8.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002891/1.87, allocations: 1.331 MB / 0.659 GB, free: 7.402 MB / 0.545 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.006446/1.876, allocations: 2.724 MB / 0.6617 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005813/1.877, allocations: 480.9 kB / 0.6622 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.877, allocations: 4 kB / 0.6622 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/1.877, allocations: 213.3 kB / 0.6624 GB, free: 3.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.879, allocations: 204.2 kB / 0.6626 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/1.884, allocations: 4.298 MB / 0.6668 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/1.884, allocations: 0.8479 MB / 0.6676 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00017/1.885, allocations: 42.95 kB / 0.6676 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/1.885, allocations: 167.3 kB / 0.6678 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/1.885, allocations: 0 / 0.6678 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/2.117, allocations: 58.97 MB / 0.7254 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/2.117, allocations: 230.8 kB / 0.7256 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.922/7.039, allocations: 0 / 0.7256 GB, free: 199.2 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1)