Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 180.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 239.7 MB, free: 1.828 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009108/0.0009107, allocations: 102 kB / 290.8 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5188/0.5188, allocations: 64.88 MB / 406.8 MB, free: 49.55 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8 kB / 482.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 64.85 MB / 0.5343 GB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.245, allocations: 342.5 MB / 0.8688 GB, free: 89.69 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.245, allocations: 57.86 kB / 0.8689 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7058/1.951, allocations: 149 MB / 1.014 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.438e-06/1.951, allocations: 0 / 1.014 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.144e-05/1.951, allocations: 26.06 kB / 1.014 GB, free: 130.2 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.007008/1.958, allocations: 1.479 MB / 1.016 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/1.958, allocations: 10.84 kB / 1.016 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/1.959, allocations: 216.3 kB / 1.016 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.96, allocations: 140.2 kB / 1.016 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.962, allocations: 0.632 MB / 1.017 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/1.962, allocations: 101.2 kB / 1.017 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/1.963, allocations: 136.1 kB / 1.017 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004274/1.967, allocations: 1.969 MB / 1.019 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/1.967, allocations: 0 / 1.019 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/1.967, allocations: 57.06 kB / 1.019 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/1.967, allocations: 80.22 kB / 1.019 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/1.971, allocations: 2.158 MB / 1.021 GB, free: 129.1 MB / 0.5573 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.01069/1.982, allocations: 5.939 MB / 1.027 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/1.986, allocations: 2.24 MB / 1.029 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/1.987, allocations: 0.8304 MB / 1.03 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/1.987, allocations: 61.69 kB / 1.03 GB, free: 127 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=187): time 5.841e-06/1.987, allocations: 1.531 kB / 1.03 GB, free: 127 MB / 0.5573 GB Notification: Performance of matching and sorting (n=187): time 0.02569/2.013, allocations: 6.811 MB / 1.037 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/2.013, allocations: 74.22 kB / 1.037 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009085/2.014, allocations: 0.5272 MB / 1.037 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003814/2.014, allocations: 58.92 kB / 1.037 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/2.015, allocations: 409.9 kB / 1.038 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/2.015, allocations: 0.6242 MB / 1.038 GB, free: 125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/2.015, allocations: 41.84 kB / 1.038 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001693/2.016, allocations: 412.7 kB / 1.039 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/2.017, allocations: 0.8454 MB / 1.04 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/2.018, allocations: 1.076 MB / 1.041 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/2.02, allocations: 1.07 MB / 1.042 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/2.02, allocations: 0 / 1.042 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01026/2.03, allocations: 3.759 MB / 1.045 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/2.03, allocations: 12.19 kB / 1.045 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/2.03, allocations: 3.812 kB / 1.045 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008327/2.039, allocations: 1.804 MB / 1.047 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/2.041, allocations: 349.7 kB / 1.048 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/2.043, allocations: 1.571 MB / 1.049 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/2.045, allocations: 239.6 kB / 1.049 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/2.045, allocations: 74.05 kB / 1.049 GB, free: 120.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 initialization (178): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 51} Notification: Performance of prepare postOptimizeDAE: time 0.00119/2.046, allocations: 429.8 kB / 1.05 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/2.047, allocations: 98.5 kB / 1.05 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/2.057, allocations: 3.82 MB / 1.054 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/2.057, allocations: 19.72 kB / 1.054 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/2.057, allocations: 3.75 kB / 1.054 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/2.057, allocations: 7.453 kB / 1.054 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/2.072, allocations: 6.558 MB / 1.06 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/2.072, allocations: 14.09 kB / 1.06 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/2.074, allocations: 308 kB / 1.06 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007992/2.082, allocations: 1.741 MB / 1.062 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005097/2.083, allocations: 55.56 kB / 1.062 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/2.085, allocations: 1.605 MB / 1.064 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/2.085, allocations: 15.47 kB / 1.064 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/2.096, allocations: 4.401 MB / 1.068 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/2.097, allocations: 238.5 kB / 1.068 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/2.097, allocations: 42.31 kB / 1.068 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/2.099, allocations: 109.1 kB / 1.068 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/2.099, allocations: 153.9 kB / 1.069 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.1, allocations: 77.25 kB / 1.069 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006695/2.1, allocations: 406.8 kB / 1.069 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/2.1, allocations: 0 / 1.069 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002795/2.103, allocations: 0.5493 MB / 1.07 GB, free: 112.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (155): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 56} Notification: Performance of Backend phase and start with SimCode phase: time 0.01372/2.117, allocations: 8.31 MB / 1.078 GB, free: 107 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004791/2.122, allocations: 2.124 MB / 1.08 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/2.122, allocations: 7.594 kB / 1.08 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/2.124, allocations: 1.139 MB / 1.081 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/2.126, allocations: 281.3 kB / 1.081 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/2.151, allocations: 12.73 MB / 1.094 GB, free: 97.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/2.152, allocations: 1.241 MB / 1.095 GB, free: 96.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002763/2.155, allocations: 0.55 MB / 1.095 GB, free: 95.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/2.156, allocations: 422.1 kB / 1.096 GB, free: 95.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/2.156, allocations: 4 kB / 1.096 GB, free: 95.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07737/2.233, allocations: 46.65 MB / 1.141 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/2.233, allocations: 228.9 kB / 1.141 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/5.852, allocations: 0 / 1.141 GB, free: 50.09 MB / 0.5573 GB (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe 2>&1)