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.000932/0.0009321, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 229.9 MB, free: 7.578 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.0008993/0.0008993, allocations: 101.6 kB / 280.8 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4822/0.4822, allocations: 64.47 MB / 396.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.91e-05, allocations: 4 kB / 467.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 64.86 MB / 0.5197 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.189, allocations: 341.8 MB / 0.8535 GB, free: 98.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/1.189, allocations: 55.05 kB / 0.8535 GB, free: 98.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6455/1.834, allocations: 146.5 MB / 0.9966 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/1.835, allocations: 0 / 0.9966 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.171e-05/1.835, allocations: 23.06 kB / 0.9966 GB, free: 129.3 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.004245/1.839, allocations: 1.454 MB / 0.998 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.839, allocations: 9.562 kB / 0.998 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006403/1.84, allocations: 136.9 kB / 0.9981 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.841, allocations: 0.6163 MB / 0.9987 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/1.841, allocations: 50.11 kB / 0.9988 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.841, allocations: 84.81 kB / 0.9989 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003422/1.844, allocations: 2.029 MB / 1.001 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/1.848, allocations: 1.726 MB / 1.003 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/1.848, allocations: 1.375 kB / 1.003 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/1.848, allocations: 3.719 kB / 1.003 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.848, allocations: 79.7 kB / 1.003 GB, free: 128.3 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.0122/1.86, allocations: 5.639 MB / 1.008 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/1.864, allocations: 2.117 MB / 1.01 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/1.866, allocations: 1.058 MB / 1.011 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/1.867, allocations: 0.8322 MB / 1.012 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/1.867, allocations: 51.77 kB / 1.012 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=187): time 4.208e-06/1.867, allocations: 0 / 1.012 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=187): time 0.01193/1.879, allocations: 3.374 MB / 1.015 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/1.879, allocations: 77.34 kB / 1.015 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/1.88, allocations: 358.7 kB / 1.016 GB, free: 126 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005359/1.881, allocations: 27.92 kB / 1.016 GB, free: 126 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/1.881, allocations: 426.1 kB / 1.016 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/1.882, allocations: 0.5978 MB / 1.017 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.882, allocations: 0 / 1.017 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.882, allocations: 398.4 kB / 1.017 GB, free: 125 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/1.883, allocations: 0.7858 MB / 1.018 GB, free: 125 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.885, allocations: 0.9892 MB / 1.019 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/1.887, allocations: 1.143 MB / 1.02 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.887, allocations: 1.375 kB / 1.02 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01118/1.898, allocations: 3.67 MB / 1.024 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/1.898, allocations: 12.33 kB / 1.024 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.898, allocations: 5.344 kB / 1.024 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/1.907, allocations: 1.789 MB / 1.025 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.91, allocations: 345.4 kB / 1.026 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.912, allocations: 1.577 MB / 1.027 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.914, allocations: 185.1 kB / 1.027 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/1.914, allocations: 73.78 kB / 1.028 GB, free: 124 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.000489/1.914, allocations: 134.2 kB / 1.028 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01077/1.925, allocations: 3.384 MB / 1.031 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/1.926, allocations: 91.45 kB / 1.031 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.936, allocations: 3.704 MB / 1.035 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.936, allocations: 22.5 kB / 1.035 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.936, allocations: 0 / 1.035 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.104e-05/1.937, allocations: 18.06 kB / 1.035 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.95, allocations: 6.282 MB / 1.041 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.95, allocations: 6.281 kB / 1.041 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.952, allocations: 301.9 kB / 1.041 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007591/1.96, allocations: 1.726 MB / 1.043 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/1.96, allocations: 26.81 kB / 1.043 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.962, allocations: 1.621 MB / 1.044 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.962, allocations: 12.47 kB / 1.044 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.972, allocations: 4.338 MB / 1.049 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/1.973, allocations: 212.7 kB / 1.049 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.973, allocations: 13.72 kB / 1.049 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.974, allocations: 74.62 kB / 1.049 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/1.975, allocations: 144.9 kB / 1.049 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.975, allocations: 82.47 kB / 1.049 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003107/1.975, allocations: 261.9 kB / 1.049 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.975, allocations: 0 / 1.049 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002246/1.977, allocations: 483.1 kB / 1.05 GB, free: 118.3 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.01224/1.99, allocations: 8.339 MB / 1.058 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00379/1.993, allocations: 1.953 MB / 1.06 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/1.993, allocations: 4.406 kB / 1.06 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.995, allocations: 1.045 MB / 1.061 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.996, allocations: 139.5 kB / 1.061 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/2.002, allocations: 2.823 MB / 1.064 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/2.003, allocations: 1.238 MB / 1.065 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001803/2.005, allocations: 0.5196 MB / 1.066 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006224/2.005, allocations: 410.8 kB / 1.066 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.983e-06/2.005, allocations: 0 / 1.066 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/2.069, allocations: 35.92 MB / 1.101 GB, free: 92.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/2.069, allocations: 172.2 kB / 1.101 GB, free: 92.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/5.141, allocations: 0 / 1.101 GB, free: 92.28 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)