Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine2",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.7968/0.7968, allocations: 150.8 MB / 166.1 MB, free: 15.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.47e-05, allocations: 4 kB / 204.9 MB, free: 9.73 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 31.99 MB / 236.8 MB, free: 5.434 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.TestStodolaTurbine2): time 1.533/1.67, allocations: 295 MB / 0.5194 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05179/1.722, allocations: 47.81 MB / 0.5661 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/1.722, allocations: 0 / 0.5661 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/1.723, allocations: 135.3 kB / 0.5662 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/1.723, allocations: 127 kB / 0.5663 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02437/1.747, allocations: 9.769 MB / 0.5759 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005749/1.748, allocations: 0.5055 MB / 0.5764 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/1.748, allocations: 133.7 kB / 0.5765 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/1.748, allocations: 179.1 kB / 0.5767 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/1.749, allocations: 151.1 kB / 0.5768 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/1.749, allocations: 12 kB / 0.5768 GB, free: 1.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03615/1.785, allocations: 23.9 MB / 0.6002 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/1.785, allocations: 43.72 kB / 0.6002 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/1.785, allocations: 204.7 kB / 0.6004 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02224/1.807, allocations: 11.09 MB / 0.6112 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.807, allocations: 4 kB / 0.6113 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/1.807, allocations: 0 / 0.6113 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.808, allocations: 0 / 0.6113 GB, free: 14.68 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005104/1.813, allocations: 1.868 MB / 0.6131 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.813, allocations: 8.031 kB / 0.6131 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/1.813, allocations: 74.53 kB / 0.6132 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/1.813, allocations: 43.52 kB / 0.6132 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/1.813, allocations: 254.3 kB / 0.6134 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.813, allocations: 91.89 kB / 0.6135 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/1.813, allocations: 24 kB / 0.6135 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/1.814, allocations: 452.4 kB / 0.614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.814, allocations: 0 / 0.614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/1.814, allocations: 12 kB / 0.614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.814, allocations: 23.97 kB / 0.614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/1.815, allocations: 330 kB / 0.6143 GB, free: 11.38 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.01996/1.835, allocations: 10.25 MB / 0.6243 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/1.835, allocations: 263.1 kB / 0.6246 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/1.835, allocations: 193.9 kB / 0.6248 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3547/2.19, allocations: 110 MB / 0.7322 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/2.19, allocations: 30.56 kB / 0.7322 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 3.246e-06/2.19, allocations: 0 / 0.7322 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002027/2.192, allocations: 1.008 MB / 0.7332 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/2.192, allocations: 55.78 kB / 0.7333 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/2.192, allocations: 249.1 kB / 0.7335 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/2.192, allocations: 29.7 kB / 0.7335 GB, free: 197 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/2.193, allocations: 161.3 kB / 0.7337 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/2.193, allocations: 210.7 kB / 0.7339 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/2.193, allocations: 46.7 kB / 0.7339 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/2.193, allocations: 343.6 kB / 0.7343 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/2.193, allocations: 153.9 kB / 0.7344 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/2.193, allocations: 225.2 kB / 0.7346 GB, free: 196.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/2.194, allocations: 422.9 kB / 0.735 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.194, allocations: 0 / 0.735 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009502/2.195, allocations: 0.5896 MB / 0.7356 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/2.195, allocations: 3.844 kB / 0.7356 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/2.195, allocations: 3.969 kB / 0.7356 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/2.195, allocations: 262.8 kB / 0.7358 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/2.196, allocations: 25.58 kB / 0.7359 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007197/2.196, allocations: 1.282 MB / 0.7371 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/2.197, allocations: 57.14 kB / 0.7372 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/2.197, allocations: 16.23 kB / 0.7372 GB, free: 195.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * 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 {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/2.197, allocations: 151.2 kB / 0.7373 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/2.197, allocations: 34.84 kB / 0.7374 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/2.198, allocations: 1.089 MB / 0.7384 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008056/2.199, allocations: 0.5807 MB / 0.739 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/2.199, allocations: 0.5 kB / 0.739 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.199, allocations: 3.75 kB / 0.739 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/2.201, allocations: 1.738 MB / 0.7407 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/2.201, allocations: 7.969 kB / 0.7407 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/2.201, allocations: 90.39 kB / 0.7408 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/2.202, allocations: 280.5 kB / 0.7411 GB, free: 194 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/2.202, allocations: 15.5 kB / 0.7411 GB, free: 194 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006822/2.202, allocations: 1.307 MB / 0.7424 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.202, allocations: 3.969 kB / 0.7424 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/2.203, allocations: 0.8849 MB / 0.7432 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/2.203, allocations: 173.8 kB / 0.7434 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/2.204, allocations: 11.69 kB / 0.7434 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/2.204, allocations: 38.67 kB / 0.7434 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/2.204, allocations: 43.56 kB / 0.7435 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/2.204, allocations: 20.69 kB / 0.7435 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002392/2.204, allocations: 312.1 kB / 0.7438 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.204, allocations: 0 / 0.7438 GB, free: 192.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00351/2.208, allocations: 1.804 MB / 0.7456 GB, free: 192.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007299/2.215, allocations: 3.913 MB / 0.7494 GB, free: 191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009146/2.216, allocations: 0.6342 MB / 0.75 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.216, allocations: 0 / 0.75 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004768/2.216, allocations: 303.7 kB / 0.7503 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/2.218, allocations: 242.2 kB / 0.7505 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/2.224, allocations: 5.541 MB / 0.7559 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/2.225, allocations: 0.8597 MB / 0.7568 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001975/2.225, allocations: 49.72 kB / 0.7568 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/2.225, allocations: 180.6 kB / 0.757 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/2.225, allocations: 7.938 kB / 0.757 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08364/2.309, allocations: 73.51 MB / 0.8288 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/2.309, allocations: 241.9 kB / 0.829 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.359/7.667, allocations: 0 / 0.829 GB, free: 111.4 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine2.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.pipe 2>&1)