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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 211.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3441/0.3441, allocations: 49.6 MB / 336.4 MB, free: 3.875 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 67.89 kB / 476.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1398, allocations: 62.42 MB / 0.5261 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.5598/0.6995, allocations: 147.5 MB / 0.6702 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006988/0.7065, allocations: 3.605 MB / 0.6737 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.7072, allocations: 11.94 kB / 0.6737 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.7084, allocations: 266.3 kB / 0.674 GB, free: 13.83 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001568/0.71, allocations: 0.5834 MB / 0.6745 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.715, allocations: 1.67 MB / 0.6762 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.7174, allocations: 1.341 MB / 0.6775 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.7181, allocations: 365.7 kB / 0.6778 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.7189, allocations: 0.5412 MB / 0.6783 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007858/0.7197, allocations: 0.5372 MB / 0.6789 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.7198, allocations: 56 kB / 0.6789 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.7215, allocations: 0.6235 MB / 0.6795 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.722, allocations: 478.6 kB / 0.68 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.7225, allocations: 449.6 kB / 0.6804 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.7247, allocations: 1.586 MB / 0.682 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7247, allocations: 0 / 0.682 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7247, allocations: 0 / 0.682 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.7248, allocations: 4 kB / 0.682 GB, free: 5.602 MB / 0.5137 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.002739/0.7275, allocations: 1.461 MB / 0.6834 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7275, allocations: 8.031 kB / 0.6834 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.7277, allocations: 103.1 kB / 0.6835 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00078/0.7285, allocations: 191 kB / 0.6837 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.7301, allocations: 0.8021 MB / 0.6845 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.7301, allocations: 41.25 kB / 0.6845 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.7302, allocations: 48 kB / 0.6846 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.7317, allocations: 1.06 MB / 0.6856 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.7317, allocations: 3.938 kB / 0.6856 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.7318, allocations: 35.94 kB / 0.6856 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.7318, allocations: 12 kB / 0.6856 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.7326, allocations: 497 kB / 0.6861 GB, free: 1.152 MB / 0.5137 GB 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.004943/0.7376, allocations: 1.982 MB / 0.688 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.7381, allocations: 191 kB / 0.6882 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.7382, allocations: 68.83 kB / 0.6883 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.7385, allocations: 35.97 kB / 0.6883 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.728e-05/0.7386, allocations: 42.5 kB / 0.6884 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 3.637e-06/0.7386, allocations: 0 / 0.6884 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.001135/0.7397, allocations: 361.1 kB / 0.6887 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.7398, allocations: 55.41 kB / 0.6888 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.743, allocations: 1.902 MB / 0.6906 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.7431, allocations: 33.7 kB / 0.6907 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/0.7438, allocations: 0.5798 MB / 0.6912 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.7439, allocations: 87.38 kB / 0.6913 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.7441, allocations: 78.02 kB / 0.6914 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.7443, allocations: 329.9 kB / 0.6917 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.7445, allocations: 134.6 kB / 0.6918 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.7449, allocations: 230 kB / 0.692 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/0.7454, allocations: 341.4 kB / 0.6924 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7454, allocations: 0 / 0.6924 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009728/0.7463, allocations: 0.5141 MB / 0.6929 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.7464, allocations: 4 kB / 0.6929 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7464, allocations: 4 kB / 0.6929 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.7464, allocations: 8 kB / 0.6929 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.747, allocations: 119.8 kB / 0.693 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.7487, allocations: 1.782 MB / 0.6947 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.7493, allocations: 83.5 kB / 0.6948 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.7494, allocations: 27.92 kB / 0.6948 GB, free: 7.898 MB / 0.5294 GB 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007001/0.7501, allocations: 382.2 kB / 0.6952 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.7503, allocations: 127.2 kB / 0.6953 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.7509, allocations: 342.2 kB / 0.6957 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7509, allocations: 0 / 0.6957 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7509, allocations: 3.062 kB / 0.6957 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7509, allocations: 7.984 kB / 0.6957 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.7518, allocations: 0.589 MB / 0.6962 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7518, allocations: 0 / 0.6962 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.7522, allocations: 71.89 kB / 0.6963 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.7522, allocations: 4 kB / 0.6963 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.7522, allocations: 0 / 0.6963 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.7535, allocations: 1.781 MB / 0.6981 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7535, allocations: 8.219 kB / 0.6981 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007335/0.7542, allocations: 0.49 MB / 0.6985 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.7547, allocations: 175.1 kB / 0.6987 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.7548, allocations: 8 kB / 0.6987 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.7552, allocations: 19.92 kB / 0.6987 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.7553, allocations: 15.97 kB / 0.6987 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.7553, allocations: 19.98 kB / 0.6988 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001887/0.7572, allocations: 1.354 MB / 0.7001 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7572, allocations: 0 / 0.7001 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008256/0.758, allocations: 239.6 kB / 0.7003 GB, free: 2.141 MB / 0.5294 GB 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003164/0.7612, allocations: 1.462 MB / 0.7017 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008867/0.7621, allocations: 271.6 kB / 0.702 GB, free: 404 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7621, allocations: 3.938 kB / 0.702 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.7624, allocations: 103.9 kB / 0.7021 GB, free: 296 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.7642, allocations: 393.1 kB / 0.7025 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.7806, allocations: 10.82 MB / 0.713 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/0.7814, allocations: 0.5099 MB / 0.7135 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009675/0.7824, allocations: 224.5 kB / 0.7138 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/0.783, allocations: 407.3 kB / 0.7141 GB, free: 3.699 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/0.783, allocations: 0 / 0.7141 GB, free: 3.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09827/0.8813, allocations: 32.05 MB / 0.7455 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.44, allocations: 12 kB / 0.7455 GB, free: 3.438 MB / 0.5762 GB " [Timeout remaining time 644] (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/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.8105783383362] Failed to read output from testmodel.py, exit status != 0: 15.63061580620706 15.649245468 14.920983823 Calling exit ...