Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 74.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4594/0.4594, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.887e-05/4.898e-05, allocations: 0 / 432.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1929, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.529/2.722, allocations: 0.7185 GB / 1.2 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/2.723, allocations: 84.61 kB / 1.2 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8582/3.581, allocations: 205.9 MB / 1.401 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/3.581, allocations: 4 kB / 1.401 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.246e-05/3.581, allocations: 20 kB / 1.401 GB, free: 111.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002345/3.583, allocations: 1.189 MB / 1.402 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/3.584, allocations: 8.031 kB / 1.402 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/3.584, allocations: 98.52 kB / 1.402 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/3.585, allocations: 178.3 kB / 1.402 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/3.586, allocations: 0.8949 MB / 1.403 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/3.586, allocations: 37.31 kB / 1.403 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/3.586, allocations: 51.98 kB / 1.403 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/3.587, allocations: 0.5809 MB / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/3.587, allocations: 4 kB / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/3.587, allocations: 23.98 kB / 1.404 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/3.587, allocations: 16 kB / 1.404 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/3.588, allocations: 453 kB / 1.404 GB, free: 108.3 MB / 0.5105 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.004575/3.593, allocations: 2.617 MB / 1.407 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/3.593, allocations: 130.6 kB / 1.407 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/3.593, allocations: 56.84 kB / 1.407 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/3.593, allocations: 121.1 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/3.593, allocations: 34.56 kB / 1.407 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 3.276e-06/3.593, allocations: 0 / 1.407 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004528/3.594, allocations: 240.1 kB / 1.407 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/3.594, allocations: 55.41 kB / 1.407 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/3.596, allocations: 1.715 MB / 1.409 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/3.596, allocations: 33.7 kB / 1.409 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/3.596, allocations: 0.5982 MB / 1.41 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/3.597, allocations: 47.36 kB / 1.41 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/3.597, allocations: 4 kB / 1.41 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000129/3.597, allocations: 325.9 kB / 1.41 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/3.597, allocations: 125.1 kB / 1.41 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/3.597, allocations: 240 kB / 1.41 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/3.597, allocations: 143.9 kB / 1.411 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.597, allocations: 0 / 1.411 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006807/3.598, allocations: 491.6 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/3.598, allocations: 8 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/3.598, allocations: 8 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/3.598, allocations: 8 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/3.599, allocations: 112.4 kB / 1.411 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005849/3.599, allocations: 1.192 MB / 1.412 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/3.6, allocations: 87.09 kB / 1.412 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/3.6, allocations: 16.19 kB / 1.412 GB, free: 99.54 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001846/3.6, allocations: 137.4 kB / 1.413 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/3.6, allocations: 126.5 kB / 1.413 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/3.601, allocations: 285.3 kB / 1.413 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/3.601, allocations: 0 / 1.413 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/3.601, allocations: 4 kB / 1.413 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/3.601, allocations: 0 / 1.413 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/3.602, allocations: 0.7228 MB / 1.414 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/3.602, allocations: 0 / 1.414 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/3.602, allocations: 51.95 kB / 1.414 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/3.602, allocations: 3.953 kB / 1.414 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/3.602, allocations: 0 / 1.414 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004999/3.602, allocations: 1.188 MB / 1.415 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/3.602, allocations: 0 / 1.415 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/3.603, allocations: 413.1 kB / 1.415 GB, free: 96.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/3.603, allocations: 283.5 kB / 1.416 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/3.603, allocations: 8 kB / 1.416 GB, free: 96.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/3.604, allocations: 20.12 kB / 1.416 GB, free: 96.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/3.604, allocations: 8 kB / 1.416 GB, free: 96.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/3.604, allocations: 23.97 kB / 1.416 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001488/3.605, allocations: 1.337 MB / 1.417 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/3.605, allocations: 0 / 1.417 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001242/3.607, allocations: 307.7 kB / 1.417 GB, free: 94.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00254/3.609, allocations: 1.825 MB / 1.419 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005485/3.61, allocations: 244.8 kB / 1.419 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/3.61, allocations: 0 / 1.419 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/3.61, allocations: 67.91 kB / 1.419 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/3.611, allocations: 353 kB / 1.42 GB, free: 92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/3.614, allocations: 1.8 MB / 1.421 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/3.615, allocations: 1.126 MB / 1.423 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006354/3.616, allocations: 232.4 kB / 1.423 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/3.616, allocations: 407.2 kB / 1.423 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/3.616, allocations: 0 / 1.423 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/3.682, allocations: 39.8 MB / 1.462 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/3.683, allocations: 226 kB / 1.462 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/6.963, allocations: 0 / 1.462 GB, free: 48.27 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)