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.0009446/0.0009445, allocations: 182.4 kB / 13.19 MB, free: 2.129 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.26/1.26, allocations: 221.4 MB / 235.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009744/0.0009743, allocations: 96.03 kB / 286 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4473/0.4473, allocations: 64.46 MB / 401.4 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.318e-05, allocations: 4 kB / 474.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 64.84 MB / 0.5265 GB, free: 30.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5848/0.8908, allocations: 342.5 MB / 0.8609 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001536/0.891, allocations: 60.53 kB / 0.861 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5432/1.434, allocations: 148.8 MB / 1.006 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/1.434, allocations: 0 / 1.006 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.047e-05/1.434, allocations: 31.92 kB / 1.006 GB, free: 109.7 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.004029/1.438, allocations: 1.448 MB / 1.008 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.438, allocations: 8.031 kB / 1.008 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005364/1.439, allocations: 219.3 kB / 1.008 GB, free: 108 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/1.44, allocations: 138.5 kB / 1.008 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.441, allocations: 0.6196 MB / 1.009 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/1.441, allocations: 114.7 kB / 1.009 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/1.441, allocations: 136 kB / 1.009 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/1.444, allocations: 1.919 MB / 1.011 GB, free: 105 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.444, allocations: 0 / 1.011 GB, free: 105 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.444, allocations: 63.98 kB / 1.011 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/1.444, allocations: 78.83 kB / 1.011 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/1.447, allocations: 2.092 MB / 1.013 GB, free: 102.7 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.007935/1.455, allocations: 5.923 MB / 1.019 GB, free: 96.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/1.458, allocations: 2.202 MB / 1.021 GB, free: 94.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.459, allocations: 1.111 MB / 1.022 GB, free: 93.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.46, allocations: 0.8292 MB / 1.023 GB, free: 92.37 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.46, allocations: 56.56 kB / 1.023 GB, free: 92.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=187): time 3.937e-06/1.46, allocations: 4 kB / 1.023 GB, free: 92.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=187): time 0.008824/1.469, allocations: 3.371 MB / 1.026 GB, free: 88.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.469, allocations: 73.39 kB / 1.026 GB, free: 88.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/1.47, allocations: 0.5224 MB / 1.027 GB, free: 88.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/1.47, allocations: 57.7 kB / 1.027 GB, free: 88.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.47, allocations: 412.4 kB / 1.027 GB, free: 87.83 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/1.471, allocations: 0.6199 MB / 1.028 GB, free: 87.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.471, allocations: 40 kB / 1.028 GB, free: 87.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.471, allocations: 410.7 kB / 1.028 GB, free: 86.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.472, allocations: 0.8161 MB / 1.029 GB, free: 85.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.474, allocations: 1.037 MB / 1.03 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/1.475, allocations: 1.036 MB / 1.031 GB, free: 83.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.475, allocations: 4 kB / 1.031 GB, free: 83.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01007/1.485, allocations: 3.699 MB / 1.035 GB, free: 80.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.485, allocations: 11.94 kB / 1.035 GB, free: 80.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.485, allocations: 4 kB / 1.035 GB, free: 80.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007894/1.493, allocations: 1.803 MB / 1.036 GB, free: 78.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.495, allocations: 347.5 kB / 1.037 GB, free: 77.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/1.496, allocations: 1.559 MB / 1.038 GB, free: 76.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.498, allocations: 242 kB / 1.038 GB, free: 76.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/1.498, allocations: 75.97 kB / 1.039 GB, free: 76.04 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 () * 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.0004002/1.499, allocations: 198 kB / 1.039 GB, free: 75.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.499, allocations: 102.8 kB / 1.039 GB, free: 75.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009381/1.508, allocations: 3.761 MB / 1.042 GB, free: 71.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.508, allocations: 20 kB / 1.043 GB, free: 71.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/1.508, allocations: 4 kB / 1.043 GB, free: 71.94 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.508, allocations: 15.89 kB / 1.043 GB, free: 71.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.52, allocations: 6.491 MB / 1.049 GB, free: 65.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.52, allocations: 8.938 kB / 1.049 GB, free: 65.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.521, allocations: 307.5 kB / 1.049 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007152/1.529, allocations: 1.739 MB / 1.051 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/1.529, allocations: 51.98 kB / 1.051 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/1.53, allocations: 1.59 MB / 1.052 GB, free: 61.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.53, allocations: 11.94 kB / 1.052 GB, free: 61.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008828/1.539, allocations: 4.343 MB / 1.057 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/1.54, allocations: 235.3 kB / 1.057 GB, free: 56.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/1.54, allocations: 47.98 kB / 1.057 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.541, allocations: 111.8 kB / 1.057 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/1.541, allocations: 145.6 kB / 1.057 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.541, allocations: 75.94 kB / 1.057 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004226/1.542, allocations: 413.1 kB / 1.058 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.142e-06/1.542, allocations: 0 / 1.058 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00153/1.543, allocations: 0.55 MB / 1.058 GB, free: 55.25 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 () * 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.01048/1.554, allocations: 8.234 MB / 1.066 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003045/1.557, allocations: 2.066 MB / 1.068 GB, free: 44.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.557, allocations: 4.312 kB / 1.068 GB, free: 44.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.558, allocations: 1.1 MB / 1.069 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.56, allocations: 285.3 kB / 1.07 GB, free: 43.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/1.564, allocations: 3.027 MB / 1.073 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/1.565, allocations: 1.239 MB / 1.074 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001802/1.567, allocations: 0.5422 MB / 1.074 GB, free: 38.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/1.567, allocations: 431.2 kB / 1.075 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/1.567, allocations: 4 kB / 1.075 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3197/1.887, allocations: 49.35 MB / 1.123 GB, free: 142 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.887, allocations: 217.2 kB / 1.123 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/5.245, allocations: 3.969 kB / 1.123 GB, free: 141.8 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)