Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",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.001847/0.001847, allocations: 177.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009836/0.000984, allocations: 82.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6101/0.6101, allocations: 48.77 MB / 358.8 MB, free: 53.21 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.247e-05, allocations: 7.938 kB / 425.4 MB, free: 8.148 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 60.27 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.142/2.307, allocations: 0.7176 GB / 1.192 GB, free: 106.1 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/2.307, allocations: 79.95 kB / 1.192 GB, free: 106 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.6668/2.974, allocations: 193.7 MB / 1.381 GB, free: 116.2 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.744e-06/2.974, allocations: 3.406 kB / 1.381 GB, free: 116.2 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.163e-05/2.974, allocations: 26.5 kB / 1.381 GB, free: 116.1 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001493/2.976, allocations: 1.115 MB / 1.382 GB, free: 115.3 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/2.976, allocations: 7.656 kB / 1.382 GB, free: 115.3 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006371/2.977, allocations: 179.5 kB / 1.382 GB, free: 115.2 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/2.978, allocations: 0.8826 MB / 1.383 GB, free: 114.6 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/2.978, allocations: 24.17 kB / 1.383 GB, free: 114.6 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/2.978, allocations: 33.34 kB / 1.383 GB, free: 114.6 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000627/2.979, allocations: 440.5 kB / 1.384 GB, free: 114.4 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/2.979, allocations: 0.5284 MB / 1.384 GB, free: 114.1 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/2.979, allocations: 0 / 1.384 GB, free: 114.1 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/2.979, allocations: 0 / 1.384 GB, free: 114.1 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/2.979, allocations: 14.34 kB / 1.384 GB, free: 114.1 MB / 0.5108 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.003781/2.983, allocations: 2.425 MB / 1.387 GB, free: 112.3 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/2.984, allocations: 189.4 kB / 1.387 GB, free: 112.2 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/2.984, allocations: 67.95 kB / 1.387 GB, free: 112.1 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/2.984, allocations: 114.9 kB / 1.387 GB, free: 112 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/2.984, allocations: 42.42 kB / 1.387 GB, free: 112 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=20): time 2.955e-06/2.984, allocations: 0 / 1.387 GB, free: 112 MB / 0.5108 GB Notification: Performance of matching and sorting (n=20): time 0.0005869/2.985, allocations: 259.9 kB / 1.387 GB, free: 111.8 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/2.985, allocations: 58.75 kB / 1.387 GB, free: 111.8 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/2.986, allocations: 1.434 MB / 1.389 GB, free: 111.1 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/2.986, allocations: 29.42 kB / 1.389 GB, free: 111.1 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/2.987, allocations: 0.5676 MB / 1.389 GB, free: 110.6 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/2.987, allocations: 71.12 kB / 1.389 GB, free: 110.6 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/2.987, allocations: 0 / 1.389 GB, free: 110.6 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/2.987, allocations: 321.4 kB / 1.39 GB, free: 110.2 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/2.987, allocations: 117.7 kB / 1.39 GB, free: 110.2 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/2.987, allocations: 222.1 kB / 1.39 GB, free: 110 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/2.987, allocations: 143 kB / 1.39 GB, free: 109.9 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.987, allocations: 3.594 kB / 1.39 GB, free: 109.9 MB / 0.5108 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006304/2.988, allocations: 448.6 kB / 1.391 GB, free: 109.7 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/2.988, allocations: 6.812 kB / 1.391 GB, free: 109.7 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/2.988, allocations: 4.219 kB / 1.391 GB, free: 109.7 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/2.988, allocations: 8.125 kB / 1.391 GB, free: 109.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/2.989, allocations: 124.3 kB / 1.391 GB, free: 109.6 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006438/2.989, allocations: 1.796 MB / 1.393 GB, free: 107.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/2.99, allocations: 47.83 kB / 1.393 GB, free: 107.8 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/2.99, allocations: 24.02 kB / 1.393 GB, free: 107.8 MB / 0.5108 GB Warning: Assuming fixed start value for the following 1 variables: Compressor.phi:VARIABLE(unit = "rad" ) "shaft rotation angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001631/2.99, allocations: 116.7 kB / 1.393 GB, free: 107.7 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004026/2.991, allocations: 269.7 kB / 1.393 GB, free: 107.5 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/2.991, allocations: 108.2 kB / 1.393 GB, free: 107.5 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/2.991, allocations: 320.8 kB / 1.393 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/2.991, allocations: 0 / 1.393 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/2.991, allocations: 3.938 kB / 1.393 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/2.991, allocations: 0 / 1.393 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/2.992, allocations: 0.6818 MB / 1.394 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/2.992, allocations: 0 / 1.394 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/2.992, allocations: 72.89 kB / 1.394 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/2.992, allocations: 0 / 1.394 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/2.993, allocations: 0 / 1.394 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005957/2.993, allocations: 1.789 MB / 1.396 GB, free: 105 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/2.993, allocations: 4.281 kB / 1.396 GB, free: 105 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/2.994, allocations: 459.8 kB / 1.396 GB, free: 104.7 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/2.994, allocations: 261.8 kB / 1.397 GB, free: 104.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/2.994, allocations: 0 / 1.397 GB, free: 104.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/2.995, allocations: 16.2 kB / 1.397 GB, free: 104.5 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/2.995, allocations: 23 kB / 1.397 GB, free: 104.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/2.995, allocations: 25.17 kB / 1.397 GB, free: 104.4 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.001177/2.996, allocations: 1.095 MB / 1.398 GB, free: 103.3 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.81e-07/2.996, allocations: 0 / 1.398 GB, free: 103.3 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001047/2.997, allocations: 311.3 kB / 1.398 GB, free: 103 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.w,Compressor.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002589/2.999, allocations: 1.932 MB / 1.4 GB, free: 101.2 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0006263/3, allocations: 254.1 kB / 1.4 GB, free: 101 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/3, allocations: 4 kB / 1.4 GB, free: 101 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/3, allocations: 93.64 kB / 1.4 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/3.001, allocations: 204.5 kB / 1.4 GB, free: 100.7 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/3.005, allocations: 1.824 MB / 1.402 GB, free: 98.83 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/3.005, allocations: 1.129 MB / 1.403 GB, free: 97.68 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.000578/3.006, allocations: 202.8 kB / 1.403 GB, free: 97.47 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/3.006, allocations: 411.2 kB / 1.404 GB, free: 97.07 MB / 0.5108 GB Notification: Performance of SimCode: time 9.32e-07/3.006, allocations: 0 / 1.404 GB, free: 97.07 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05214/3.058, allocations: 25.43 MB / 1.429 GB, free: 71.61 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/3.059, allocations: 170.1 kB / 1.429 GB, free: 71.42 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/5.949, allocations: 0 / 1.429 GB, free: 71.42 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)