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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 94.44 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 182 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3832/0.3832, allocations: 48.78 MB / 320.4 MB, free: 11.31 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009073/0.0009076, allocations: 12.81 kB / 391.2 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1601, allocations: 60.27 MB / 451.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.6052/0.7653, allocations: 136.8 MB / 0.5745 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006217/0.7716, allocations: 4.259 MB / 0.5787 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.7722, allocations: 8.531 kB / 0.5787 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.7731, allocations: 200.9 kB / 0.5789 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.7743, allocations: 472.5 kB / 0.5793 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004744/0.779, allocations: 1.246 MB / 0.5805 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.781, allocations: 0.7522 MB / 0.5813 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.7817, allocations: 344.2 kB / 0.5816 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.7827, allocations: 469.5 kB / 0.582 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.7833, allocations: 372.1 kB / 0.5824 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.7834, allocations: 26.19 kB / 0.5824 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.785, allocations: 496.5 kB / 0.5829 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.7854, allocations: 441.4 kB / 0.5833 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.7856, allocations: 219.3 kB / 0.5835 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.7874, allocations: 1.14 MB / 0.5846 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7874, allocations: 7.75 kB / 0.5847 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.7874, allocations: 0 / 0.5847 GB, free: 13.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.7875, allocations: 0 / 0.5847 GB, free: 13.62 MB / 430.1 MB 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.002939/0.7904, allocations: 1.291 MB / 0.5859 GB, free: 12.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/0.7905, allocations: 9.906 kB / 0.5859 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.7907, allocations: 97.23 kB / 0.586 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.7916, allocations: 182.1 kB / 0.5862 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.7933, allocations: 0.8145 MB / 0.587 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.7933, allocations: 40.53 kB / 0.587 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.7934, allocations: 55.23 kB / 0.5871 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.7946, allocations: 0.6187 MB / 0.5877 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.7947, allocations: 0 / 0.5877 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.7948, allocations: 26.47 kB / 0.5877 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.7948, allocations: 10.78 kB / 0.5877 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.7958, allocations: 495.8 kB / 0.5882 GB, free: 11.87 MB / 430.1 MB 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.00729/0.8031, allocations: 2.576 MB / 0.5907 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.8036, allocations: 199.3 kB / 0.5909 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.8041, allocations: 112.8 kB / 0.591 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.8041, allocations: 40.38 kB / 0.591 GB, free: 10.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 3.647e-06/0.8042, allocations: 0 / 0.591 GB, free: 10.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.00109/0.8053, allocations: 353.6 kB / 0.5914 GB, free: 10.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.8053, allocations: 57.89 kB / 0.5914 GB, free: 9.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.8085, allocations: 1.912 MB / 0.5933 GB, free: 9.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.8086, allocations: 31.55 kB / 0.5933 GB, free: 9.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/0.8093, allocations: 0.5662 MB / 0.5939 GB, free: 9.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.791e-05/0.8094, allocations: 80.09 kB / 0.594 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.8095, allocations: 8.031 kB / 0.594 GB, free: 9.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.8097, allocations: 320.4 kB / 0.5943 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.81, allocations: 138 kB / 0.5944 GB, free: 8.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.8104, allocations: 225.2 kB / 0.5946 GB, free: 8.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.8108, allocations: 145.5 kB / 0.5948 GB, free: 8.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8108, allocations: 2.938 kB / 0.5948 GB, free: 8.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001322/0.8121, allocations: 0.4967 MB / 0.5952 GB, free: 8.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8122, allocations: 9.766 kB / 0.5953 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.8122, allocations: 4.438 kB / 0.5953 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.8122, allocations: 5.719 kB / 0.5953 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.8132, allocations: 121.3 kB / 0.5954 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.8147, allocations: 1.798 MB / 0.5971 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.8158, allocations: 81.03 kB / 0.5972 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.8159, allocations: 18.5 kB / 0.5972 GB, free: 6.695 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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 () * Number of clocked 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.001009/0.8169, allocations: 376.8 kB / 0.5976 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.8173, allocations: 122.4 kB / 0.5977 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/0.8183, allocations: 367 kB / 0.5981 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.8183, allocations: 4.469 kB / 0.5981 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.8183, allocations: 0 / 0.5981 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.8183, allocations: 5.688 kB / 0.5981 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.8198, allocations: 0.7102 MB / 0.5988 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8199, allocations: 0 / 0.5988 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.8205, allocations: 73.17 kB / 0.5988 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.8205, allocations: 0 / 0.5988 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.8205, allocations: 5.938 kB / 0.5988 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.8219, allocations: 1.784 MB / 0.6006 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.822, allocations: 0 / 0.6006 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.823, allocations: 0.4961 MB / 0.6011 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006696/0.8237, allocations: 255.8 kB / 0.6013 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.8239, allocations: 5.375 kB / 0.6013 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.8247, allocations: 19.83 kB / 0.6013 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.8247, allocations: 13.75 kB / 0.6013 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.8248, allocations: 17.83 kB / 0.6014 GB, free: 3.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002624/0.8274, allocations: 1.365 MB / 0.6027 GB, free: 3.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.8275, allocations: 0 / 0.6027 GB, free: 3.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001593/0.8291, allocations: 234.2 kB / 0.6029 GB, free: 3.379 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (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.003409/0.8325, allocations: 1.403 MB / 0.6043 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.8336, allocations: 275.2 kB / 0.6045 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8336, allocations: 3.938 kB / 0.6046 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.8341, allocations: 117.3 kB / 0.6047 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.837, allocations: 379.2 kB / 0.605 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.8576, allocations: 9.989 MB / 0.6148 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.8588, allocations: 1.128 MB / 0.6159 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.8601, allocations: 224.7 kB / 0.6161 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/0.8609, allocations: 406.5 kB / 0.6165 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.8609, allocations: 0 / 0.6165 GB, free: 11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09081/0.9517, allocations: 28.07 MB / 0.6439 GB, free: 14.88 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/0.9521, allocations: 253.6 kB / 0.6441 GB, free: 14.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/4.315, allocations: 0 / 0.6441 GB, free: 14.54 MB / 478.1 MB (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) Environment - environmentSimulation: